About require (Strtolower ($object). '. class.php ') Related issues

Source: Internet
Author: User
About require (Strtolower ($object). The question of '. class.php ')
Code require (Strtolower ($object). '. class.php '); Run the following error message appears:

Fatal Error:require (): Failed opening required ' pscws3.class.php ' (include_path= '.; C:\php\pear ') in D:\php\wamp\www\scws002\demo.php on line 208
I changed it to require ". class.php"; it's working. But here I don't understand why it's important to have a case-and-write conversion. What is the correct wording?


------Solution--------------------
Prevent the size to write wrong ... Causes the path to be incorrect, forcing is converted to lowercase. What else could it do?

Explore

This is not the point, I want to know that when referencing the file, the above code uses the Strtolower () function, I do not know what this can bring benefits
  • 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.