首页 > 解决方案 > XAMPP: How to upgrade PEAR

问题描述

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?

标签: phpxampp

解决方案


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


推荐阅读