note 111954 deleted from function.set-include-path by googleguy

From: Date: Wed, 17 Apr 2013 09:32:05 +0000
Subject: note 111954 deleted from function.set-include-path by googleguy
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-194505@lists.php.net to get a copy of this message
Note Submitter: Zsolt Szilagyi ---- Commonly used is set_include_path(get_include_path() . PATH_SEPARATOR . '/myclasses'); to extend include path. Consider turning around to set_include_path('/myclasses' . PATH_SEPARATOR . get_include_path()); That way the place where you expect your files is scanned first, improving performance.

« previous php.notes (#194505) next »