function signatures in XML
| From: | Robert Stoll | Date: | Thu, 05 Mar 2015 13:44:33 +0000 |
| Subject: | function signatures in XML | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-84341@lists.php.net to get a copy of this message | ||
Heya,
Does PHP store somewhere meta-information of all internal functions (and operators) in a portable
format such as XML?
I would like to extract information such as
- parameters including types
- return type
automatically. Preferably each overload of a function but I guess that does not exist.
For instance, str_replace has overloads:
string x string x string x (&int) -> string
string x string x array x (&int) -> array
array x string x string x (&int) -> string
array x array x string x (&int) -> string
array x array x array x (&int) -> array
Unfortunately, the manual as such is not precise enough for my needs.
Cheers,
Robert