PHP 8 und @ (General)
Hallo!
Thank you. I'm currently not sure, how we should handle the @-syntax. Any suggestions?
Gerade dieser @-Operator wurde in der neuen PHP-Version 8 abgeschafft, sollte Fehlermeldungen in künfigen Instanzen der Forumssoftware auf PHP-8-Servern also nicht mehr deaktivieren, vgl.:
"The @ operator will no longer silence fatal errors (E_ERROR, E_CORE_ERROR, E_COMPILE_ERROR, E_USER_ERROR, E_RECOVERABLE_ERROR, E_PARSE). Error handlers that expect error_reporting to be 0 when @ is used, should be adjusted to use a mask check instead"
Gruß
Taurec