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

tracey jaquith 1572465 at bugs.launchpad.net
Thu May 5 22:51:18 UTC 2016


ok, thanks!  sorry i needed that clue!  8-)

-- 
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:
  New

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