You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Empty string is an invalid expression for phpdbg-ev #16174
The following series of commands generated the output:
docker run -it --rm php:8.3-cli-alpine phpdbg
[Welcome to phpdbg, the interactive PHP debugger, v8.3.12]
To get help using phpdbg type"help" and press enter
[Please report bugs to <http://bugs.php.net/report.php>]
prompt> ev $e = ''
[Parse Error: syntax error, unexpected input (input string or data), expecting end of command or # (pound sign)]
prompt> ev $e=""
[Parse Error: syntax error, unexpected input (input string or data), expecting end of command or # (pound sign)]
prompt> ev $e="e"
e
But I expected this output instead:
The empty strings in an expression for ev in phpdbg should not have triggered a parse-error.
Activity
Fix phpGH-16174: Empty string is an invalid expression for phpdbg-ev
Fix GH-16174: Empty string is an invalid expression for phpdbg-ev
Merge branch 'PHP-8.2' into PHP-8.3
Merge branch 'PHP-8.3' into PHP-8.4
Merge branch 'PHP-8.4'