RE: Is this a bug?

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

 



I'm using a custom ob_handler (it's a MVC framework, we need this handler).
The ironic thing is that, executed once, the error doesn't show. Executed
twice, the error you're talking about shows. Executed 3rd ... the same as
the first execution. And I have my error_reporting to E_ALL. This happens
ONLY on this kind of error, any other type of error gets reported every
time.

	Do you have any ideea what this error type is? E_WARNING? Maybe I
missed something ... And, shouldn't this be a parse error? Rather than a
warning?

-----Original Message-----
From: Robert Cummings [mailto:robert@xxxxxxxxxxxxx] 
Sent: Friday, August 29, 2008 10:56 AM
To: Catalin Zamfir Alexandru, DATAGRAM SRL
Cc: php-general@xxxxxxxxxxxxx
Subject: Re:  Is this a bug?

On Fri, 2008-08-29 at 10:40 +0300, Catalin Zamfir Alexandru, DATAGRAM
SRL wrote:
> Echo 'something';
> 
> Echo 'another thing';
> 
> Echo 'something <br />'\;

I got the following output in both php5 and php4:

Warning: Unexpected character in input:  '\' (ASCII=92) state=1
in /home/rob/bleh.php on line 7
somethinganother thingsomething <br />

You might want to crank up your error reporting.

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


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


-- 
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