#37142 [Opn->Bgs]: Compiler fails to rasie error.
ID: 37142
Updated by: derick@php.net
Reported By: gurpreet dot gopi at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Linux
PHP Version: 5.1.2
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
.
Previous Comments:
------------------------------------------------------------------------
[2006-04-20 05:33:10] gurpreet dot gopi at gmail dot com
Description:
------------
php version 5.0.4
Line 2 Should give the error as it end without semicolon.
Reproduce code:
---------------
<?php
$a = 5;
echo $a."<br>"
?>
Expected result:
----------------
Error should be raised by the compiler
Actual result:
--------------
It outputs 5.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37142&edit=1
Thread (3 messages)