[Bug 1572465] Re: php -R - $argn seems to have last char missing

Mathew Hodson mathew.hodson at gmail.com
Thu May 19 01:58:15 UTC 2016


** Changed in: php7.0 (Ubuntu Xenial)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1572465

Title:
  php -R - $argn seems to have last char missing

Status in php7.0 package in Ubuntu:
  Fix Released
Status in php7.0 source package in Xenial:
  Triaged

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://launchpad.net/~nacc/+archive/ubuntu/lp1572465
  was successfully tested by the original reporter.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php7.0/+bug/1572465/+subscriptions



More information about the Ubuntu-sponsors mailing list