ID:               35678
 Updated by:       [EMAIL PROTECTED]
 Reported By:      f dot hardy at origami-systems dot com
 Status:           Feedback
 Bug Type:         CGI related
 Operating System: freebsd
 PHP Version:      5.1.1
 New Comment:

It's time for upgrade.


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

[2006-08-03 07:31:41] [EMAIL PROTECTED]

same issue here, using freebsd 5.3...just checked ive got
display_errors = On and error_reporting = E_STRICT atm...php-5.0.4
here.

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

[2005-12-23 01:00:04] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

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

[2005-12-15 13:00:01] [EMAIL PROTECTED]

Are you sure you have display_errors = On and error_reporting = E_ALL?

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

[2005-12-15 12:09:39] f dot hardy at origami-systems dot com

Description:
------------
php -l aFile.php does not report correctly parse error.
PHP 5.0.4 say : PHP Parse error:  parse error, unexpected T_STRING,
expecting ',' or ';' in selects.php on line 6
PHP 5.1.1 say : Errors parsing selects.php

Reproduce code:
---------------
if ($_SERVER['REQUEST_METHOD'] == 'POST')
{
        echo '<pre>'
        var_dump($_POST);
        echo '</pre>';
}

Expected result:
----------------
PHP Parse error:  parse error, unexpected T_STRING, expecting ',' or
';' in selects.php on line 6

Actual result:
--------------
Errors parsing selects.php


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


-- 
Edit this bug report at http://bugs.php.net/?id=35678&edit=1

Reply via email to