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.