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?
Both MAMP and XAMPP come with the PEAR framework pre-configured, so installing the Mail package is simple.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With