[PEAR-BUG] Bug #21218 [Com]: Cannot use result of built-in function in write context in PHP 7.2.0alpha1
[email protected] ("
[email protected]")
Sun, 11 Jun 2017 07:41:28 -0400 (EDT)
| Newsgroups |
php.pear.bugs |
| Message-ID |
<[email protected]> |
Edit report at https://pear.php.net/bugs/bug.php?id=21218&edit=1
ID: 21218
Comment by: andy at webtatic dot com
Reported By: andy at webtatic dot com
Summary: Cannot use result of built-in function in write
context in PHP 7.2.0alpha1
Status: Open
Type: Bug
Package: Archive_Tar
PHP Version: Irrelevant
Roadmap Versions:
New Comment:
I've added a PR to the Github repo at
https://github.com/pear/Archive_Tar/pull/18
Previous Comments:
------------------------------------------------------------------------
[2017-06-10 14:48:51] andytson
Description:
------------
When using install_pear.php in PHP 7.2.0alpha1 to install PEAR,
Archive_Tar fails with the error:
PHP Fatal error: Cannot use result of built-in function in write
context in
/builddir/build/BUILD/php72w-pear-1.10.4/Archive/Tar.php on line 662
This appears to be due to the use of by-reference on a built-in
function,
which PHP 7.2 has probably changed.
$v_att_list = & func_get_args();
------------------------------------------------------------------------
--
Edit this bug report at https://pear.php.net/bugs/bug.php?id=21218&edit=1