1.1 The USE statement with Non-compound name1.1.1 phenomenon
Debug the program, found running the following code program ran fly:
Require_once __dir__. '/actions/'. $refectClass. '. php ';
1.1.2 Reasons
Because it is in the Phpstorm debugging, the beginning to look at the __dir__ variable, found that it has been xdebug, so that is the problem, online search for a lot of data there is no solution.
After reviewing the error log, we found the following error message:
2014-05-12 16:41:53: <E> [PHP]: The USE statement with Non-compound name ' Commonutils ' have no effec T (D:\projectwork\sourcecode\server\i2goods\protected\components\clientapi\actions\bookeditaction.php:9) |
Open the bookeditaction.php file to see the 9th line of code and discover that:
Find information on the Internet and find such use syntax error.
1.1.3 Solution
Consult the relevant developer, this code is garbage code, forget to delete, delete it after it is OK.
This article is from the "Rainman" blog, make sure to keep this source http://lancelot.blog.51cto.com/393579/1772964
PHP problem--the Use statement with Non-compound name