When trying to upgrade XAMPP pear the following error is raised:
Fatal error: Cannot use result of built-in function in write context in C:\xampp\php\pear\Archive\Tar.php on line 639
Some suggestions how to fix this?
Just change in Tar.php
$v_att_list = & func_get_args();
to
$v_att_list = func_get_args();
PD:Tested over PHP 7.2 in Xammp
Usually this means you have a function inside a fuction, and sometimes it doesn't like that.
As an example, if this caused the error:
if(!isset(Session::get($something))){
Then you could change it to this to fix the problem:
$value = Session::get($something);
if(!isset($value)){
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.