"Hartmut Holzgraefe" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Stefan Livieratos wrote:
> > Hi,
> > "Cynic" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > 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
You are right of course. I was misled by the example Cynic used. On the
other hand I don't know how useful a function that returns all
language constructs would be. Could someone give me an example for
using such a function in a sensible way?
Stefan Livieratos [EMAIL PROTECTED]
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]