Changeset 235
- Timestamp:
- 04/14/08 03:55:26 (7 months ago)
- Files:
-
- trunk/Phergie/Plugin/Php.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Phergie/Plugin/Php.php
r232 r235 41 41 $name = str_replace('_', '-', $function); 42 42 $contents = file_get_contents('http://php.net/manual/en/function.' . rtrim($name, '();') . '.php'); 43 $start = strpos($contents, '<div class="methodsynopsis ">');43 $start = strpos($contents, '<div class="methodsynopsis dc-description">'); 44 44 $end = strpos($contents, '</div>', $start); 45 45 $contents = substr($contents, $start, $end-$start);