|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2011-04-13 16:00 UTC] kiminoumm at hotmail dot fr
Description: ------------ I just migrate my script to an old php version (4.3.5) to an newest, and now i get an fatal error when i use the echo function without parameter Test script: --------------- echo ; Expected result: ---------------- a blank thing Actual result: -------------- an Fatal error PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sat Feb 07 01:00:01 2026 UTC |
Not sure when/why this broke. You're mentioning 5.2, so it can't be our change from flex to re2c for the scanner. Anyways: I can see that there are cases where allowing this makes sense. simple example might be a templating system generating code, something like this: fwrite($file, 'echo '.implode(', ', $texts).';'); On the other hand I don't like having this case in the language ...