Re: builtin functions / constructs
| From: | Stefan Livieratos | Date: | Fri, 23 Mar 2001 09:19:27 +0000 |
| Subject: | Re: builtin functions / constructs | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-49801@lists.php.net to get a copy of this message | ||
Hi,
"Cynic" <cynic@mail.cz> schrieb im Newsbeitrag
news:5.0.0.25.2.20010322195754.02374c88@mail.cz...
> Is there a way to get names of available "language constructs"
> in a PHP program? I mean, I don't think there's currently
> a way a PHP script can know if e. g. zend_version() is available
> (other than function_exists( 'zend_version' ), that is).
> Is something along get_builtin_constructs() possible?
Take a look at get_defined_functions(),
http://www.php.net/manual/en/function.get-defined-functions.php
.
Regards,
Stefan
--
Stefan Livieratos stefan@livieratos.com
http://www.ferry24.de