note 42287 deleted from configuration.directives by nlopess

From: Date: Tue, 11 May 2004 13:24:15 +0000
Subject: note 42287 deleted from configuration.directives by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-69461@lists.php.net to get a copy of this message
Note Submitter: jacob-nospam at keystreams dot com ---- I've noticed what does not seem to be intuitive results from the 'include_path' directive. Take the following example: <?php echo get_include_path(); // prints .:/usr/share/pear // Imagine there are two Config.php files, one is in ./ the other /usr/share/pear. // Typing the line below returns the Config.php from /usr/share/pear, not ./ require_once 'Config.php'; ?> Does it read backwards, including the first file it finds? Or forwards, including the last one? Either way seems odd - I would imagine it would start at the left and terminate once it finds the first instance of the file.

« previous php.notes (#69461) next »