Re: [PHP-DEV] Re: Adieu register_globals

2006-03-07 Thread Marcus Boerger
Hello Mike, that is a good idea imo. Putting all the stuff in an extension that is per default enabled in 6.0 and then in 6.1 moved to pecl. If everything generates E_STRICT/E_NOTICE then we should be fine. best regards marcus Tuesday, March 7, 2006, 5:51:42 PM, you wrote: > Just a silly litt

Re: [PHP-DEV] Re: Adieu register_globals

2006-03-07 Thread Mike Lively
Just a silly little brainstorm What about moving those functions to a separate php extension where they can eventually be phased out? At least at that point you can get it all out of the core but still provide an easy way for people who need the BC to have it. (is there already a deprec extens

Re: [PHP-DEV] Re: Adieu register_globals

2006-03-07 Thread Lukas Smith
Zeev Suraski wrote: The point is that breakage is aggregated, not binary. The more stuff we break, the more difficult it is to port, and frankly, it's quite likely that a non OO app could migrate fairly cleanly even to PHP 6 with unicode disabled (perhaps with minor fixes). get_magic_quotes_

Re: [PHP-DEV] Re: Adieu register_globals

2006-03-07 Thread Zeev Suraski
At 12:27 07/03/2006, Pierre wrote: On 3/7/06, Derick Rethans <[EMAIL PROTECTED]> wrote: > On Tue, 7 Mar 2006, Stefan Esser wrote: > > > > > > That was the plan. Checking for register_globals should return > > > false. > > > > Pierre's list says it removes things like > > get_magic_quotes_gpc() .

Re: [PHP-DEV] Re: Adieu register_globals

2006-03-07 Thread Pierre
On 3/7/06, Stefan Esser <[EMAIL PROTECTED]> wrote: > > >What is the point of detecting something that does not exist anymore? > > > >It is not a problem to add these checks and errors, only senseless. > > > >What is the reason to do it? PHP6 will require most applications to be > >ported, this prob

Re: [PHP-DEV] Re: Adieu register_globals

2006-03-07 Thread Stefan Esser
>What is the point of detecting something that does not exist anymore? > >It is not a problem to add these checks and errors, only senseless. > >What is the reason to do it? PHP6 will require most applications to be >ported, this problem will be their smallest problem and can be easily >emulated i

Re: [PHP-DEV] Re: Adieu register_globals

2006-03-07 Thread Pierre
On 3/7/06, Derick Rethans <[EMAIL PROTECTED]> wrote: > On Tue, 7 Mar 2006, Stefan Esser wrote: > > > > > > That was the plan. Checking for register_globals should return > > > false. > > > > Pierre's list says it removes things like > > get_magic_quotes_gpc() ..., which is a NONO. > > yeah, agreed

Re: [PHP-DEV] Re: Adieu register_globals

2006-03-07 Thread Derick Rethans
On Tue, 7 Mar 2006, Stefan Esser wrote: > > > That was the plan. Checking for register_globals should return false. > > Pierre's list says it removes things like get_magic_quotes_gpc() ..., > which is a NONO. yeah, agreed. And we should also throw errors when people make the setting, as per

Re: [PHP-DEV] Re: Adieu register_globals

2006-03-07 Thread Stefan Esser
> That was the plan. Checking for register_globals should return false. Pierre's list says it removes things like get_magic_quotes_gpc() ..., which is a NONO. Stefan -- -- Stefan Esser

Re: [PHP-DEV] Re: Adieu register_globals

2006-03-07 Thread Rasmus Lerdorf
Stefan Esser wrote: Stop for a moment... What you guys are doing at the moment will completely break tons of applications. The ini settings that previously allowed activating/deactivating register_globals/magic_quotes MUST stay or atleast be emulated. It must be possible for an application to de

Re: [PHP-DEV] Re: Adieu register_globals

2006-03-06 Thread Stefan Esser
Stop for a moment... What you guys are doing at the moment will completely break tons of applications. The ini settings that previously allowed activating/deactivating register_globals/magic_quotes MUST stay or atleast be emulated. It must be possible for an application to detect that the settings

Re: [PHP-DEV] Re: Adieu register_globals

2006-03-06 Thread Michael Vergoz
Finally ! Good job Pierre :D +1 Michael - Original Message - From: "Pierre" <[EMAIL PROTECTED]> To: ; <[EMAIL PROTECTED]> Sent: Monday, March 06, 2006 9:46 PM Subject: [PHP-DEV] Re: Adieu register_globals On Sun, 5 Mar 2006 16:21:28 +0100 [EMAIL PROTECTED] (

Re: [PHP-DEV] Re: Adieu register_globals

2006-03-06 Thread Hannes Magnusson
On 3/7/06, Zeev Suraski <[EMAIL PROTECTED]> wrote: > At 01:59 07/03/2006, Hannes Magnusson wrote: > >On 3/7/06, Zeev Suraski <[EMAIL PROTECTED]> wrote: > > > A part of the decision was to supply the few lines of code necessary > > > to emulate register_globals in userspace. Volunteers? :) > > > >

Re: [PHP-DEV] Re: Adieu register_globals

2006-03-06 Thread Zeev Suraski
At 01:59 07/03/2006, Hannes Magnusson wrote: On 3/7/06, Zeev Suraski <[EMAIL PROTECTED]> wrote: > A part of the decision was to supply the few lines of code necessary > to emulate register_globals in userspace. Volunteers? :) > http://php.is/bugs/register_globals/register_globals.phps :) Look

Re: [PHP-DEV] Re: Adieu register_globals

2006-03-06 Thread Stefan Walk
Hannes Magnusson wrote: > On 3/7/06, Zeev Suraski <[EMAIL PROTECTED]> wrote: >> A part of the decision was to supply the few lines of code necessary >> to emulate register_globals in userspace. Volunteers? :) >> > > http://php.is/bugs/register_globals/register_globals.phps :) > > - Hannes > sc

Re: [PHP-DEV] Re: Adieu register_globals

2006-03-06 Thread Johannes Schlueter
Hi, On Tuesday 07 March 2006 01:10, Andrew Yochum wrote: > On Tue, Mar 07, 2006 at 01:38:34AM +0200, Zeev Suraski wrote: > > A part of the decision was to supply the few lines of code necessary > > to emulate register_globals in userspace. Volunteers? :) > > FWIW, I've used this successfully when

Re: [PHP-DEV] Re: Adieu register_globals

2006-03-06 Thread Andrew Yochum
On Tue, Mar 07, 2006 at 01:38:34AM +0200, Zeev Suraski wrote: > A part of the decision was to supply the few lines of code necessary > to emulate register_globals in userspace. Volunteers? :) FWIW, I've used this successfully when tieing two systems with opposing register_globals requirements:

Re: [PHP-DEV] Re: Adieu register_globals

2006-03-06 Thread Hannes Magnusson
On 3/7/06, Zeev Suraski <[EMAIL PROTECTED]> wrote: > A part of the decision was to supply the few lines of code necessary > to emulate register_globals in userspace. Volunteers? :) > http://php.is/bugs/register_globals/register_globals.phps :) - Hannes -- PHP Internals - PHP Runtime Development

Re: [PHP-DEV] Re: Adieu register_globals

2006-03-06 Thread Jason Garber
Hello Zeev, I'd be happy to do this. Do you want this placed in a function or just sample code to post somewhere? -- Best regards, Jasonmailto:[EMAIL PROTECTED] Monday, March 6, 2006, 6:38:34 PM, you wrote: ZS> A part of the decision was to supply the few line

Re: [PHP-DEV] Re: Adieu register_globals

2006-03-06 Thread Zeev Suraski
A part of the decision was to supply the few lines of code necessary to emulate register_globals in userspace. Volunteers? :) Zeev At 22:46 06/03/2006, Pierre wrote: On Sun, 5 Mar 2006 16:21:28 +0100 [EMAIL PROTECTED] (Pierre) wrote: > Hello, > > As discussed last year, register_globals will

Re: [PHP-DEV] Re: Adieu register_globals

2006-03-06 Thread Andrei Zmievski
Pierre, I think you should apply it. Kill the f***ing thing. -Andrei On Mar 6, 2006, at 12:46 PM, Pierre wrote: On Sun, 5 Mar 2006 16:21:28 +0100 [EMAIL PROTECTED] (Pierre) wrote: Hello, As discussed last year, register_globals will be removed in php6. This patch is the first step: http:/

Re: [PHP-DEV] Re: Adieu register_globals

2006-03-06 Thread Marcus Boerger
Hello Pierre, looks even better becuase it includes the next two steps after your first patch. If it was up to me, i'd say just apply. marcus Monday, March 6, 2006, 9:46:19 PM, you wrote: > On Sun, 5 Mar 2006 16:21:28 +0100 > [EMAIL PROTECTED] (Pierre) wrote: >> Hello, >> >> As discussed la

[PHP-DEV] Re: Adieu register_globals

2006-03-06 Thread Pierre
On Sun, 5 Mar 2006 16:21:28 +0100 [EMAIL PROTECTED] (Pierre) wrote: > Hello, > > As discussed last year, register_globals will be removed in php6. This > patch is the first step: > > http://pear.php.net/~pierre/remove_register_globals.txt > > The only thing I find confusing is a comment in main