Bug #63849 [NEW]: echo HTML breaking string

From: Date: Mon, 24 Dec 2012 14:28:11 +0000
Subject: Bug #63849 [NEW]: echo HTML breaking string
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-175594@lists.php.net to get a copy of this message
From: yoav at weitzman dot co dot il Operating system: linux PHP version: Irrelevant Package: *General Issues Bug Type: Bug Bug description:echo HTML breaking string Description: ------------ echo (or var_dump) "SELECT * FROM table WHERE Date<NOW()"; the part after the 'lower than' ("<NOW...") seems like broken HTML tag and breaks the code without any errors. Test script: --------------- echo "SELECT * FROM table WHERE Date<NOW()"; echo 'DONE'; //this is not printed or everything else afterwords Expected result: ---------------- I expected to see my string on the screen and the code will still be running Actual result: -------------- It's only print "SELECT * FROM table WHERE Date" and then the script breaks. -- Edit bug report at https://bugs.php.net/bug.php?id=63849&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63849&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63849&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63849&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=63849&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=63849&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=63849&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=63849&r=needscript Try newer version: https://bugs.php.net/fix.php?id=63849&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=63849&r=support Expected behavior: https://bugs.php.net/fix.php?id=63849&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=63849&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=63849&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=63849&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63849&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=63849&r=dst IIS Stability: https://bugs.php.net/fix.php?id=63849&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=63849&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=63849&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=63849&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=63849&r=mysqlcfg

« previous php.bugs (#175594) next »