2021-01-31

PHP 8 breaks code on curly braces - fixed but still broken and I can't debug

I have two third party php libraries, phpMyEdit and ical which were working on PHP 7.4. When I upgraded the server to Ubuntu 20.04 the php engine went to 8.0. Then these two libraries broke on an error for curly braces {} which is now illegal in php 8. In those libraries I changed the braces {} to bracketts [] as was recommended elsewhere. In some of my own code that had {} I changed that to [] and it is now working. However those two libraries when called never return and there is nothing left in the error logs for me to look at.

What should I try to sort this out.



from Recent Questions - Stack Overflow https://ift.tt/3td7aE0
https://ift.tt/eA8V8J

No comments:

Post a Comment