Re: [PHP-DEV] [RFC] prepend_include_path()/append_include_path()

2008-02-14 Thread Lars Strojny
Hi, Am Mittwoch, den 13.02.2008, 16:47 +0100 schrieb Lars Strojny: [...] > The current patch is in a bit hacky state, as I have my doubts whether > storing the include paths as a string is a good idea. I want to gain > some feedback for this addition first before I invest more work on it. Just fo

Re: [PHP-DEV] [RFC] prepend_include_path()/append_include_path()

2008-02-14 Thread Richard Lynch
On Wed, February 13, 2008 9:47 am, Lars Strojny 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 do

Re: [PHP-DEV] [RFC] prepend_include_path()/append_include_path()

2008-02-14 Thread Jochem Maas
Lukas Kahwe Smith schreef: On 14.02.2008, at 10:07, Lars Strojny wrote: Hi Jochem, Am Donnerstag, den 14.02.2008, 00:56 +0100 schrieb Jochem Maas: I think Lars has a point ... maybe set_include_path() could be given a second parameter instead to mitigate the need for seperate funcs?: set_in

Re: [PHP-DEV] [RFC] prepend_include_path()/append_include_path()

2008-02-14 Thread Markus Fischer
Lukas Kahwe Smith wrote: On 14.02.2008, at 10:20, Markus Fischer wrote: Personally I never understood why we've set_include_path in the first place anyway. "ini_set('include_path', ..." does exactly the same and the C function does actually exactly this. Short history lesson: The reason for s

Re: [PHP-DEV] [RFC] prepend_include_path()/append_include_path()

2008-02-14 Thread Lukas Kahwe Smith
On 14.02.2008, at 10:07, Lars Strojny wrote: Hi Jochem, Am Donnerstag, den 14.02.2008, 00:56 +0100 schrieb Jochem Maas: I think Lars has a point ... maybe set_include_path() could be given a second parameter instead to mitigate the need for seperate funcs?: set_include_path('foo', INCPATH_OV

Re: [PHP-DEV] [RFC] prepend_include_path()/append_include_path()

2008-02-14 Thread Derick Rethans
On Thu, 14 Feb 2008, Markus Fischer wrote: > Lars Strojny wrote: > > Am Donnerstag, den 14.02.2008, 00:56 +0100 schrieb Jochem Maas: > > > I think Lars has a point ... maybe set_include_path() could > > > be given a second parameter instead to mitigate the need for seperate > > > funcs?: > > > >

Re: [PHP-DEV] [RFC] prepend_include_path()/append_include_path()

2008-02-14 Thread Lukas Kahwe Smith
On 14.02.2008, at 10:20, Markus Fischer wrote: Lars Strojny wrote: Am Donnerstag, den 14.02.2008, 00:56 +0100 schrieb Jochem Maas: I think Lars has a point ... maybe set_include_path() could be given a second parameter instead to mitigate the need for seperate funcs?: set_include_path('fo

Re: [PHP-DEV] [RFC] prepend_include_path()/append_include_path()

2008-02-14 Thread Markus Fischer
Lars Strojny wrote: Am Donnerstag, den 14.02.2008, 00:56 +0100 schrieb Jochem Maas: I think Lars has a point ... maybe set_include_path() could be given a second parameter instead to mitigate the need for seperate funcs?: set_include_path('foo', INCPATH_OVERRIDE); // default set_include_path('f

Re: [PHP-DEV] [RFC] prepend_include_path()/append_include_path()

2008-02-14 Thread Lars Strojny
Hi Jochem, Am Donnerstag, den 14.02.2008, 00:56 +0100 schrieb Jochem Maas: > I think Lars has a point ... maybe set_include_path() could > be given a second parameter instead to mitigate the need for seperate > funcs?: > > set_include_path('foo', INCPATH_OVERRIDE); // default > set_include_path('f

Re: [PHP-DEV] [RFC] prepend_include_path()/append_include_path()

2008-02-13 Thread Pierre Joye
On Feb 14, 2008 12:05 AM, Lars Strojny <[EMAIL PROTECTED]> wrote: > Hi Pierre, > > Am Mittwoch, den 13.02.2008, 23:12 +0100 schrieb Pierre Joye: > [...] > > That would be a reason to have these functions (yes, path_separator is > > required) ;-) > > So you agree? Thanks :) I don't, it was a joke :

Re: [PHP-DEV] [RFC] prepend_include_path()/append_include_path()

2008-02-13 Thread Jochem Maas
I think Lars has a point ... maybe set_include_path() could be given a second parameter instead to mitigate the need for seperate funcs?: set_include_path('foo', INCPATH_OVERRIDE); // default set_include_path('foo', INCPATH_APPEND); set_include_path('foo', INCPATH_PREPEND); Strojny schreef: Hi

Re: [PHP-DEV] [RFC] prepend_include_path()/append_include_path()

2008-02-13 Thread Lars Strojny
Hi Pierre, Am Mittwoch, den 13.02.2008, 23:12 +0100 schrieb Pierre Joye: [...] > That would be a reason to have these functions (yes, path_separator is > required) ;-) So you agree? Thanks :) cu, Lars -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php

Re: [PHP-DEV] [RFC] prepend_include_path()/append_include_path()

2008-02-13 Thread Lars Strojny
Hi Pierre, Am Mittwoch, den 13.02.2008, 23:01 +0100 schrieb Pierre Joye: [...] > > 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 wh

Re: [PHP-DEV] [RFC] prepend_include_path()/append_include_path()

2008-02-13 Thread Pierre Joye
On Feb 13, 2008 11:06 PM, Markus Fischer <[EMAIL PROTECTED]> wrote: > Pierre Joye wrote: > > On Feb 13, 2008 4:47 PM, Lars Strojny <[EMAIL PROTECTED]> wrote: > >> Hi everyone, > >> > >> the following patch[1] adds the functions append_include_path() and > >> prepend_include_path(). These function a

Re: [PHP-DEV] [RFC] prepend_include_path()/append_include_path()

2008-02-13 Thread Markus Fischer
Pierre Joye wrote: On Feb 13, 2008 4:47 PM, Lars Strojny <[EMAIL PROTECTED]> 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_pat

Re: [PHP-DEV] [RFC] prepend_include_path()/append_include_path()

2008-02-13 Thread Pierre Joye
Hi Lars, On Feb 13, 2008 4:47 PM, Lars Strojny <[EMAIL PROTECTED]> 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()

[PHP-DEV] [RFC] prepend_include_path()/append_include_path()

2008-02-13 Thread Lars Strojny
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. The current patch is in a bit hacky state, as I