Re: [PHP4BETA] parser prob?

From: Date: Tue, 08 Feb 2000 08:59:04 +0000
Subject: Re: [PHP4BETA] parser prob?
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-9934@lists.php.net to get a copy of this message
Zeev Suraski wrote: > This is most probably an error reporting issue (most probably being an > understatement). Make sure you have error_reporting set to E_ALL, or at > least include E_PARSE. > ... i had the same problem some weeks ago, but was not able to reproduce it in sample code i would be allowed to publish i had full error reporting enabled and working for all my test scripts but in some cases the application code showed exactly the same problem that Walt encountered here it seemed that if an application got 'big enogh', with multiple levels of include and require and object usage, that a syntax error in an included file related to missing ']' or ')' would make the php module to silently 'exit' without any error messages > > > I think I may have found a problem. I was running one of my scripts > >and was getting a "page contatined no data" error, when it turned out > >that I had an error in the syntax of one of my statements. > > > >I was pulling out the values from the $results array below. > >If you noticed the missing ] char from the $kid_person_id = ... line. > >I would expect to get a "syntax error" from php, instead of nothing > >back from it. -- Hartmut Holzgraefe hartmut@six.de http://www.six.de Besuchen Sie Six auf der CeBIT (24.2.-1.3.) in Halle 10, Stand 425, und auf der Hannover-Messe (20.-25.3.) in Halle 14, Stand J50!

« previous php.version4 (#9934) next »