note 76458 deleted from language.oop5.autoload by cmb

From: Date: Sun, 29 Dec 2019 10:18:00 +0000
Subject: note 76458 deleted from language.oop5.autoload by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-213669@lists.php.net to get a copy of this message
Note Submitter: emcmanus at gmail dot com ---- Note: if you're experiencing unexpected "failed opening required 'filename.php' (include..." errors: If you placed your autoload function in an external file which you're requiring at the head of every script, be cautious of some odd behavior regarding PHP's idea of the current working directory. I ran into some unexpected path issues when my include file was placed in a subdirectory directory. The solution to my problems was to make sure that the autoload script being included is in the same directory as the calling script.

« previous php.notes (#213669) next »