From: [EMAIL PROTECTED] Operating system: linux 2.2 PHP version: 4.1.2 PHP Bug Type: Scripting Engine problem Bug description: no compile-time (interpreter) error about closing parenthesis
The following code does not render a compilation error (notice the closing parenthesis in the return statement). In fact, everything dies completely with no output at all no matter what you try until you uncomment the offending line. Here is the code that reproduces what I am reporting: <?php error_reporting(E_ALL); function test() { return "Hello"); } echo test(); ?> error_reporting is set to 2047 in php.ini Configure parameters: '--enable-track-vars' '--with-apxs=/usr/sbin/apxs' '--with-mysql' '--with-gnu-ld' -- Edit bug report at http://bugs.php.net/?id=16160&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16160&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16160&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16160&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16160&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16160&r=support Expected behavior: http://bugs.php.net/fix.php?id=16160&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16160&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16160&r=submittedtwice