#35551 [NEW]: Last line ignored when contains rubbish word
From: barry20 at exemail dot com dot au
Operating system: SunOS 5.8 Generic_108528-16
PHP version: 4.4.1
PHP Bug Type: Scripting Engine problem
Bug description: Last line ignored when contains rubbish word
Description:
------------
Running the script below results in the final block line being ignored. I
hope this is not a "feature".
Reproduce code:
---------------
<?php
print "this is a test";
cjkebvirbvrbvir
?>
test
Expected result:
----------------
I expect a syntax error.
Actual result:
--------------
this is a testtest
--
Edit bug report at http://bugs.php.net/?id=35551&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35551&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35551&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35551&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=35551&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=35551&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=35551&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=35551&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=35551&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=35551&r=support
Expected behavior: http://bugs.php.net/fix.php?id=35551&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=35551&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=35551&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35551&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35551&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35551&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=35551&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=35551&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=35551&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=35551&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=35551&r=mysqlcfg
Thread (2 messages)
- barry20 at exemail dot com dot au