** Description changed: last char of lines to "php -R" seem to be missing final (non-whitespace chars). - example: + [Impact] - root@www-vagrant (xenial) 9:22AM ~ - > /usr/bin/php7.0 -v; echo; /bin/echo ruhro | /usr/bin/php7.0 -R 'echo "$argn\n";'; echo - PHP 7.0.4-7ubuntu2 (cli) ( NTS ) - Copyright (c) 1997-2016 The PHP Group - Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies - with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies + * Users expect `php -R` to execute the entire provided string. - ruhr + [Test Case] + * /bin/echo ruhro | /usr/bin/php7.0 -R 'echo "$argn\n";' + Should print "ruhro", but prints "ruhr" without the specified fix. - In this example, it should print "ruhro" (same as the input). + [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. - ( I am using vagrant on a mac: ubuntu/xenial64 (virtualbox, 20160418.0.0) ) + [Other Info] - lsb_release -rd - Description: Ubuntu 16.04 LTS - Release: 16.04 + * Test build at https://launchpad.net/~nacc/+archive/ubuntu/lp1572465 + was successfully tested by the original reporter.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1572465 Title: php -R - $argn seems to have last char missing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php7.0/+bug/1572465/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs