-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Description
From manual page: https://php.net/manual/en/functions.first_class_callable_syntax.php
Is it possible to have this feature disabled? The docs never mention it, but I encountered a server running PHP 8.1.2 (according to echo phpinfo())that does not recognize functionname(...) syntax and throws "ArgumentCountError".
Is there a setting I can check in phpinfo() to know for sure this is intended? E.g. the website hosting provider disabled the feature or is using a build of PHP without it?
Most importantly for the docs, any info about how to figure this out before doing a major refactor and finding out the thing would not run in production would be appreciated.
edipoReboucas