php -R - $argn seems to have last char missing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php7.0 (Ubuntu) |
Fix Released
|
Medium
|
Nish Aravamudan | ||
Xenial |
Fix Committed
|
Medium
|
Unassigned |
Bug Description
last char of lines to "php -R" seem to be missing final (non-whitespace chars).
[Impact]
* Users expect `php -R` to execute the entire provided string.
[Test Case]
* /bin/echo ruhro | /usr/bin/php7.0 -R 'echo "$argn\n";'
Should print "ruhro", but prints "ruhr" without the specified fix.
[Regression Potential]
* There is very little chance of regression as the bugfix in question is an upstream backport. The only possibility would seem to be a user's PHP script relying on the now-broken behavior, but I find it challenging to think of a way that could actually be done.
[Other Info]
* Test build at https:/
tags: | added: xenial |
Changed in php7.0 (Ubuntu): | |
importance: | Undecided → Medium |
Changed in php7.0 (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in php7.0 (Ubuntu Xenial): | |
importance: | Undecided → Medium |
description: | updated |
Changed in php7.0 (Ubuntu Xenial): | |
status: | New → Triaged |
tags: | added: patch |
Status changed to 'Confirmed' because the bug affects multiple users.