|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2004-08-03 23:55 UTC] drmaples at gmail dot com
Description: ------------ no errors are reported even though explicitly stated to report errors. removing the 2nd echo statement allows the error to be reported. './configure' '--with-mysql=/usr/local/mysql' '--with-apxs2=/usr/local/apache2/bin/apxs' '--enable-wddx' '--with-xmlrpc' '--enable-exif' '--with-oci8=/usr/lib/oracle/10.1.0.2/client' '--enable-sigchild' '--with-gd' '--with-zlib-dir=/usr/include' '--with-jpeg-dir=/usr/include' '--enable-gd-native-ttf' '--with-ttf=/usr/include/freetype' '--with-freetype-dir=/usr/include/freetype2' '--enable-sockets' Reproduce code: --------------- <?php error_reporting(E_STRICT | E_ALL); echo $is_this echo $an_error ?> Expected result: ---------------- have an error reported that a semicolon is expected Actual result: -------------- nothing prints to screen at all PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 17 07:00:01 2025 UTC |
Works fine for me: derick@kossu:~$ php <?php error_reporting(E_STRICT | E_ALL); echo $is_this echo $an_error ?> Parse error: syntax error, unexpected T_ECHO, expecting ',' or ';' in - on line 4