You are here: Re: List of PHP functions and classes « PHP Programming Language « IT news, forums, messages
Re: List of PHP functions and classes

Posted by Oli Filth on 05/15/06 21:44

ImOk said the following on 15/05/2006 18:18:
> In Smalltalk I can get the list of the classes, methods and global
> variables by querrying a global dictionary. In addition you can get the
> arguments.
>
> I know in PHP one can get the list of globals via the $GLOBALS array.
>
> But Is there a way to get the list of all the functions and
> classes/methods (and arguments) currently loaded in PHP by using
> reflection?
>
PHP 5 implements reflection, although the documentation is somewhat
hidden away in the manual, under Classes and Objects.
http://uk.php.net/manual/en/language.oop5.reflection.php.

The documentation is also somewhat spartan, but with some
experimentation you should be able to get the reflection classes to work.


--
Oli

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация