Home > other >  Use the function function_exists; This error occurs.
Use the function function_exists; This error occurs.

Time:09-25

Parse error: syntax error, unexpected 'function' (T_FUNCTION), expecting identifier (T_STRING) or \ \ (T_NS_SEPARATOR) in/alidata/WWW/phpwind/vendor/myclabs/deep - copy/SRC/DeepCopy/deep_copy. PHP on line 5

Check the fifth line is the use function function_exists; This is an error, is this why?

CodePudding user response:

Function_exists method combined with namespace, such as
Use foo/bar/function_exists;

CodePudding user response:

PHP 5.6 and later to support the use function

CodePudding user response:

Problem solved, please
  • Related