Re: builtin functions / constructs
| From: | Hartmut Holzgraefe | Date: | Fri, 23 Mar 2001 13:08:16 +0000 |
| Subject: | Re: builtin functions / constructs | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-49806@lists.php.net to get a copy of this message | ||
Stefan Livieratos wrote:
>
> 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
> .
does this return things like unset()?
no it doesn't!
there's a difference between builtin functions and language constructs
--
Hartmut Holzgraefe hartmut@six.de http://www.six.de
+49-711-99091-77
Besuchen Sie uns auf der CeBIT 2001 - in Halle 6 Stand F62/4