Re: Bug, Warning that is possible a Parse Error

From: Date: Sun, 31 Aug 2008 04:49:59 +0000
Subject: Re: Bug, Warning that is possible a Parse Error
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-40181@lists.php.net to get a copy of this message
Hi again, Well, its behavior isn't like a Parse Error, becase the following code return NULL and not false: <?php var_dump( eval( 'echo \'maria<br />\'\\;' )); ?> On Sun, Aug 31, 2008 at 2:33 AM, Diogo Neves <dafneves@gmail.com> wrote: > I send the sample file attached, it's easy to understand what I'm saying... > The line in where is echo 'maria'/; should throw a Parse Error and not > a Warning, and @ least if it really is a Warning it should be catch > like any other Warning... > > Plz, see the file, it's simple and shows better than my english ;) > > -- > Thanks for your attention, > > Diogo Neves > Web Developer @ SAPO.pt by PrimeIT.pt > -- Thanks for your attention, Diogo Neves Web Developer @ SAPO.pt by PrimeIT.pt

« previous php.internals (#40181) next »