Re: [RFC] prepend_include_path()/append_include_path()

From: Date: Wed, 13 Feb 2008 22:06:57 +0000
Subject: Re: [RFC] prepend_include_path()/append_include_path()
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-35462@lists.php.net to get a copy of this message
Pierre Joye wrote:
On Feb 13, 2008 4:47 PM, Lars Strojny <lars@strojny.net> wrote:
Hi everyone, the following patch[1] adds the functions append_include_path() and prepend_include_path(). These function are there to make include path adjustments easier than it is. Especially append_include_path() is what is done most of the time.
I don't think we need two new functions for: set_include_path('/some/path' . DIRECTORY_SEPARATOR . get_include_path()); set_include_path(. get_include_path() . DIRECTORY_SEPARATOR . '/some/path' );
Gotcha, it needs to be PATH_SEPARATOR, no? - Markus

« previous php.internals (#35462) next »