#37036 [Opn->Bgs]: Silent error code 255 with syntactically invalid code

From: Date: Tue, 11 Apr 2006 07:34:45 +0000
Subject: #37036 [Opn->Bgs]: Silent error code 255 with syntactically invalid code
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-95578@lists.php.net to get a copy of this message
 ID:               37036
 Updated by:       derick@php.net
 Reported By:      joustin at post dot pl
-Status:           Open
+Status:           Bogus
 Bug Type:         Scripting Engine problem
 Operating System: Windows
 PHP Version:      5.1.2
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

As you can see, that is not true. Turn on error reporting:

derick@kossu:~$ php
<?php

echo
foo($target.'/'.$foo['basename'].'_'.$y.$foo['extension'];

?>

Parse error: syntax error, unexpected ';' in /home/derick/- on line 3



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

[2006-04-11 07:21:47] joustin at post dot pl

Description:
------------
The following should throw a parse error. Instead, it break php without
any output, throwing error code 255.

Reproduce code:
---------------
<?php

echo
foo($target.'/'.$foo['basename'].'_'.$y.$foo['extension'];

?>


Expected result:
----------------
Parse error

Actual result:
--------------
Exit Code 255


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


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


Thread (2 messages)

« previous php.bugs (#95578) next »