Bug #80539 [NEW]: The '#' comment not recognized

From: Date: Tue, 22 Dec 2020 03:05:35 +0000
Subject: Bug #80539 [NEW]: The '#' comment not recognized
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-231213@lists.php.net to get a copy of this message
From: funderburkjim at gmail dot com Operating system: Windows 10 PHP version: 8.0.0 Package: Scripting Engine problem Bug Type: Bug Bug description:The '#' comment not recognized Description: ------------ Running test script (tempbug.php) gives PHP parse error: PHP Parse error: syntax error, unexpected integer "0" in C:\xampp\htdocs\tempbug.php on line 2 This parses and runs without error in php 7.1.9. Test script: --------------- <?php echo "some message\n"; #[0] ?> -- Edit bug report at https://bugs.php.net/bug.php?id=80539&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=80539&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=80539&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=80539&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=80539&r=needscript Try newer version: https://bugs.php.net/fix.php?id=80539&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=80539&r=support Expected behavior: https://bugs.php.net/fix.php?id=80539&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=80539&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=80539&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=80539&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=80539&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=80539&r=dst IIS Stability: https://bugs.php.net/fix.php?id=80539&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=80539&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=80539&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=80539&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=80539&r=mysqlcfg

« previous php.bugs (#231213) next »