Re: String parsing issue in PHP 4.3.10?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 22 December 2004 01:12, Steve Brown wrote:

> I'm working on a script that will parse through a long string using
> regexs to pattern match a certain format.  I'm having an issue with a
> '?>' in a string being picked up as an end-of-code character, but only
> if the line before it is commented out.  If the line before is NOT
> commented out, PHP processes the file as normal (errors out, but I can
> fix that). 

That suggests to me you have some mismatched quotes somewhere. Get yourself an 
editor that does syntax highlighting then you can easily see where your 
quoted strings begin and end.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Minnie Mouse is a slow maze learner.

*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux