Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.4.8

Bug #21218 Cannot use result of built-in function in write context in PHP 7.2.0alpha1
Submitted: 2017-06-10 18:48 UTC
From: andytson Assigned: mrook
Status: Closed Package: Archive_Tar
PHP Version: Irrelevant OS:
Roadmaps: 1.4.3    
Subscription  


 [2017-06-10 18:48 UTC] andytson (Andy Thompson)
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();

Comments

 [2017-06-11 11:41 UTC] andytson (Andy Thompson)
I've added a PR to the Github repo at https://github.com/pear/Archive_Tar/pull/18
 [2017-06-11 17:30 UTC] mrook (Michiel Rook)
-Status: Open +Status: Closed -Assigned To: +Assigned To: mrook
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.