Question about getting a listing of all functions and reserved words
| From: | Anders Gardebring | Date: | Tue, 29 Jul 2003 22:02:17 +0000 |
| Subject: | Question about getting a listing of all functions and reserved words | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-19638@lists.php.net to get a copy of this message | ||
Hello.
I was wondering if there is a way to get an entire list of all functions and reserved words (if, else, var, class, and so on) in PHP?
I know these are available in the online-documentation
(such as on <http://www.php.net/manual/en/reserved.php> and
<http://www.php.net/manual/en/index.functions.php>)
However the purpose I need the lists for is not for normal "human" reference but rather for a syntax-highlighting-routine I'm writing for a php-code-editor.
So my question is if these lists are available in a plain-text or even better, in XML-format somewhere?
If not I believe this is something which would be great if you had and also something that should probably not be to hard to implement if you have some kind of database behind it?
Best regards, Anders Gardebring