PHP 4.0 Bug #10066 Updated: Paser fails to report missing "}"

From: Date: Fri, 30 Mar 2001 00:33:27 +0000
Subject: PHP 4.0 Bug #10066 Updated: Paser fails to report missing "}"
Groups: php.dev 
Request: Send a blank email to php-dev+get-50316@lists.php.net to get a copy of this message
ID: 10066 Updated by: jmoore Reported By: yohgaki@dd.iij4u.or.jp Old-Status: Open Status: Bogus Bug Type: Scripting Engine problem Assigned To: Comments: bogusify Previous Comments: --------------------------------------------------------------------------- [2001-03-29 19:24:09] yohgaki@dd.iij4u.or.jp Sorry again, I should have mention about error log. PHP is logging parse error where it should be. It just does not show parse error on browser. Form PHP4.0.4pl1/Apache DSO/RedHat Linux 7.0.1/ja ============================================ [30-Mar-2001 07:02:26] PHP Parse error: parse error in /home/httpd/dev/ygb-web/include/classlib/Form.inc on line 1309 ============================================ --------------------------------------------------------------------------- [2001-03-29 19:09:55] hholzgra@php.net do you get any error messages in apaches error_log if you turn log_errors on? by the way: the reason i asked for error_reporting settings was that a lot of people re-use their settings from php3 , usually 7 or 15 , and miss some of the new error classes, esp. zend parse errors by that --------------------------------------------------------------------------- [2001-03-29 18:53:57] yohgaki@dd.iij4u.or.jp Oops, the latter one is php.ini for Linux/Apache/PHP4.0.4pl1 --------------------------------------------------------------------------- [2001-03-29 18:51:30] yohgaki@dd.iij4u.or.jp I should have written this. Sorry. Error reporting is E_ALL for both W2K and Linux. (I edited to get rid of comments, I might be messed up a little. If you need whole php.ini, please let me know) === php.ini (PHP4.0.5RC1 Windows Partial ini) === engine = On short_open_tag = Off asp_tags = Off precision = 14 y2k_compliance = Off output_buffering = Off output_handler = zlib.output_compression = Off implicit_flush = Off allow_call_time_pass_reference = Off error_reporting = E_ALL display_errors = On display_startup_errors = On log_errors = Off track_errors = On warn_plus_overloading = Off variables_order = "GPCS" register_globals = Off register_argc_argv = Off post_max_size = 8M magic_quotes_gpc = Off magic_quotes_runtime = Off magic_quotes_sybase = Off auto_prepend_file = auto_append_file = default_mimetype = "text/html" default_charset = "EUC-JP" === php.ini (PHP4.0.4pl1 Windows Partial ini) === engine = On short_open_tag = Off asp_tags = Off precision = 14 y2k_compliance = Off output_buffering = Off output_handler = implicit_flush = Off allow_call_time_pass_reference = Off error_reporting = E_ALL display_errors = On isplay_startup_errors = Off log_errors = On error_log = /var/log/php/php-error.log track_errors = On warn_plus_overloading = Off variables_order = "EGPCS" register_globals = Off register_argc_argv = Off post_max_size = 8M magic_quotes_gpc = Off magic_quotes_runtime = Off magic_quotes_sybase = Off auto_prepend_file = auto_append_file = default_mimetype = "text/html" default_charset = "EUC-JP" --------------------------------------------------------------------------- [2001-03-29 18:16:05] hholzgra@php.net what does your php.ini, especialy error_reporting look like? --------------------------------------------------------------------------- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10066&edit=2

« previous php.dev (#50316) next »