Re: String parsing issue in PHP 4.3.10?
| From: | Jason Wong | Date: | Tue, 21 Dec 2004 18:46:40 +0000 |
| Subject: | Re: String parsing issue in PHP 4.3.10? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-204857@lists.php.net to get a copy of this message | ||
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.
*/