← Back to team overview

group.of.nepali.translators team mailing list archive

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

 

This bug was fixed in the package php7.0 - 7.0.4-7ubuntu4

---------------
php7.0 (7.0.4-7ubuntu4) yakkety; urgency=medium

  * debian/patches/0053-backport-68ebfc87.patch: Fix bug #71624,
    PHP_MODE_PROCESS_STDIN (CLI SAPI called with '-R') did not properly
    set $argi and $argn.  Closes LP: #1572465.

 -- Nishanth Aravamudan <nish.aravamudan@xxxxxxxxxxxxx>  Wed, 20 Apr
2016 19:05:43 -0700

** Changed in: php7.0 (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
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).

  example:

  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

  ruhr

  
  In this example, it should print "ruhro" (same as the input).

  
  ( I am using vagrant on a mac:  ubuntu/xenial64 (virtualbox, 20160418.0.0) )

  lsb_release -rd 
  Description:	Ubuntu 16.04 LTS
  Release:	16.04

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