RFE on function signatures and PHP versions
| From: | Ruud Steltenpool, http://svg.startpagina.nl | Date: | Mon, 19 Feb 2007 15:45:29 +0000 |
| Subject: | RFE on function signatures and PHP versions | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969375534@lists.php.net to get a copy of this message | ||
If the signature of the PHP4 version of a function is different than the PHP5 version i have to find that among a number of notes a bit down in the docs.
I think it would improve read- and searchability a lot if you would just show the different signatures on top, for example:
====================
strrpos
(PHP 4, PHP 5)
strrpos — Find position of last occurrence of a char in a string
Description
int strrpos ( string $haystack, string $needle [, int $offset] )
================
would IMHO be better as:
====================
strrpos — Find position of last occurrence of a char in a string
PHP5 int strrpos ( string $haystack, string $needle [, int $offset] )
PHP4 int strrpos ( string $haystack, string $needle)
================
Cheers,
Ruud