Re: builtin functions / constructs

From: Date: Fri, 23 Mar 2001 15:11:14 +0000
Subject: Re: builtin functions / constructs
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-49820@lists.php.net to get a copy of this message
What's the point of returning the language constructs though? By definition, each of them has its own semantics, so I can't see any use for that... Zeev At 15:08 23/3/2001, Hartmut Holzgraefe wrote:
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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
-- Zeev Suraski <zeev@zend.com> CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/

« previous php.dev (#49820) next »