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
查到第五行是 use function function_exists; 這句報錯,這是為什么?
uj5u.com熱心網友回復:
function_exists 方法加上命名空間,比如use foo\bar\function_exists;
uj5u.com熱心網友回復:
php 5.6 及以后版本支持 use functionuj5u.com熱心網友回復:
請問問題解決了嗎轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/126075.html
標籤:其他技術討論專區
