Skip to content

Instantly share code, notes, and snippets.

@aamsur-mkt
Created March 23, 2020 06:57
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aamsur-mkt/cd0febddc262f54385e7bd4a2d91df31 to your computer and use it in GitHub Desktop.
Save aamsur-mkt/cd0febddc262f54385e7bd4a2d91df31 to your computer and use it in GitHub Desktop.
PHP Fatal error: Cannot use result of built-in function in write context in /usr/share/php/Archive/Tar.php on line 639
Just change in Tar.php line 639
$v_att_list = & func_get_args();
to
$v_att_list = func_get_args();
@dunglehome
Copy link

Thank you for this solution, it saves the day!

@Luckyfella73
Copy link

Got a fatal error after PHP was switched to 7.4 but this fixed it - thank you!

@surger
Copy link

surger commented Aug 3, 2022

Thank you!

@GianmarcoZ
Copy link

Thank you! It worked, really appreciated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment