PHP 8.x Update
-
In mla-hooks-example.php, we found an array still using curly braces. This no longer works, starting with PHP 8.x.
Example:
You had if ( ‘_’ == $post_meta_key{0} ); but it now needs to be if ( ‘_’ == $post_meta_key[0] )
You may want to make sure that all instances of curly braces for array (and even string) indexes are changed to the square brackets or it will affect everyone on the latest versions of PHP.
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP 8.x Update’ is closed to new replies.