PHP problem--the Use statement with Non-compound name

Source: Internet
Author: User

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:

Use Commonutils

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.