Re: [PHP] stripping enclosed text from PHP code

2006-04-10 Thread Robin Vickery
On 09/04/06, Winfried Meining [EMAIL PROTECTED] wrote: Hi, I am writing on a script that parses a PHP script and finds all function calls to check, if these functions exist. To do this, I needed a function that would strip out all text, which is enclosed in apostrophes or quotation marks.

Re: [PHP] stripping enclosed text from PHP code

2006-04-10 Thread Richard Lynch
Have you considered running php -s from the command line, which syntax highlights your source file for you, the searching for whatever color codes in your php.ini are used for functions? For that matter, you could custom-code the choices for the color and make the functions read in a separate

[PHP] stripping enclosed text from PHP code

2006-04-09 Thread Winfried Meining
Hi, I am writing on a script that parses a PHP script and finds all function calls to check, if these functions exist. To do this, I needed a function that would strip out all text, which is enclosed in apostrophes or quotation marks. This is somewhat tricky, as the script needs to be aware

Re: [PHP] stripping enclosed text from PHP code

2006-04-09 Thread Satyam
http://www.phpcompiler.org/ Satyam - Original Message - From: Winfried Meining [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Sunday, April 09, 2006 10:20 PM Subject: [PHP] stripping enclosed text from PHP code Hi, I am writing on a script that parses a PHP script