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" <[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
>
>--
>Hartmut Holzgraefe [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
Zeev Suraski <[EMAIL PROTECTED]>
CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/
--
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]