🕸Fergus Duniho wrote on Wed, Sep 22, 2021 06:35 PM UTC:
The new server is running PHP 8. So, I have updated some scripts over there to work with PHP 8, and I have copied the updated versions to the main server. These include the following:
404.php
footer.php
ads/adlocale.php
index/commentsinc.php
index/database-funcs.php
index/displayusersubmission.php
index/fpd-indexing-funcs.php
login/header.php
play/pbm/play.php
One change is that {curly brackets} may no longer be used to specify characters within a string. [Square brackets] must be used instead, as they are already used for array elements. The other is that parentheses must now be used to specify the order of evaluation for nested ?: statements.
I will check more pages later to see if any more scripts need updating.
The new server is running PHP 8. So, I have updated some scripts over there to work with PHP 8, and I have copied the updated versions to the main server. These include the following:
One change is that {curly brackets} may no longer be used to specify characters within a string. [Square brackets] must be used instead, as they are already used for array elements. The other is that parentheses must now be used to specify the order of evaluation for nested ?: statements.
I will check more pages later to see if any more scripts need updating.