Questions about require (strtolower ($ object). '. class. php')

Source: Internet
Author: User
About require (strtolower ($ object ).. class. php) problem Code require (strtolower ($ object ).. class. php). the following error occurs: Fatalerror: require (): Failedopeningrequiredpscws3.class. php (inc about require (strtolower ($ object ). '. class. php ')
Code require (strtolower ($ object). '. class. php'); the following error message is displayed during running:

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"; then it runs normally. But here I don't understand why case-sensitivity conversion is necessary. why? What should I write correctly?


------ Solution --------------------
Preventing case-insensitive errors... causes incorrect paths and converts them to lower-case characters. What else can be done?

Discussion

This is not important. I want to know that when I reference a file, the above code uses the strtolower () function, and I don't know what benefits it brings.

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.