ID:               16160
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Bogus
 Bug Type:         Scripting Engine problem
 Operating System: linux 2.2
 PHP Version:      4.1.2
 New Comment:

See how I fooled myself though copy & paste?

Of course the exacty message *is*: ... line <b>4</b><br>

What do you want more ? :)


Previous Comments:
------------------------------------------------------------------------

[2002-03-19 01:10:47] [EMAIL PROTECTED]

This at least gives me <b>Parse error</b>:  parse error in <b>-</b> on
line <b>1</b><br>.

Though not the best hint, it's unlikely the parser will be drastically
improved during this century to catch each and every user error
exactly.

------------------------------------------------------------------------

[2002-03-18 23:28:33] [EMAIL PROTECTED]

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 this bug report at http://bugs.php.net/?id=16160&edit=1

Reply via email to