Re: [PHP-DEV] register globals - PHP6 still replaces . in variables from outside

2008-11-12 Thread Stan Vassilev | FM
On Wed, Nov 12, 2008 at 03:57, Stan Vassilev | FM [EMAIL PROTECTED] wrote: I don't see it would work with something like import_request_variables() unless thats removed or extract(), which is some of the reasons for this replacement feature afair. There was never a need for the replacement to

Re: [PHP-DEV] register globals - PHP6 still replaces . in variables from outside

2008-11-11 Thread Mark van der Velden
Sorry for bringing an old thread back to life, but imo this needs some more attention. Sebastian wrote: hi, PHP6 still replaces . with an underscore in variables from outside. this is an old behavior forced by register globals so i would say its a bug since . is valid in array keys.

Re: [PHP-DEV] register globals - PHP6 still replaces . in variables from outside

2008-11-11 Thread Davey Shafik
On Nov 11, 2008, at 04:10 PM, Mark van der Velden wrote: Sorry for bringing an old thread back to life, but imo this needs some more attention. Sebastian wrote: hi, PHP6 still replaces . with an underscore in variables from outside. this is an old behavior forced by register globals so i

Re: [PHP-DEV] register globals - PHP6 still replaces . in variables from outside

2008-11-11 Thread Kalle Sommer Nielsen
Hi Mark 2008/11/11 Mark van der Velden [EMAIL PROTECTED]: Sorry for bringing an old thread back to life, but imo this needs some more attention. Sebastian wrote: hi, PHP6 still replaces . with an underscore in variables from outside. this is an old behavior forced by register globals so

Re: [PHP-DEV] register globals - PHP6 still replaces . in variables from outside

2008-11-11 Thread Stan Vassilev | FM
I don't see it would work with something like import_request_variables() unless thats removed or extract(), which is some of the reasons for this replacement feature afair. There was never a need for the replacement to occur for the GPC superglobals. If import_request_variables() needs it,

Re: [PHP-DEV] register globals - PHP6 still replaces . in variables from outside

2008-11-11 Thread Hannes Magnusson
On Wed, Nov 12, 2008 at 03:57, Stan Vassilev | FM [EMAIL PROTECTED] wrote: I don't see it would work with something like import_request_variables() unless thats removed or extract(), which is some of the reasons for this replacement feature afair. There was never a need for the replacement

Re: [PHP-DEV] register globals - PHP6 still replaces . in variables from outside

2008-11-11 Thread Mark van der Velden
Hannes Magnusson wrote: On Wed, Nov 12, 2008 at 03:57, Stan Vassilev | FM [EMAIL PROTECTED] wrote: I don't see it would work with something like import_request_variables() unless thats removed or extract(), which is some of the reasons for this replacement feature afair. There was never a

[PHP-DEV] register globals - PHP6 still replaces . in variables from outside

2008-02-24 Thread Sebastian
hi, PHP6 still replaces . with an underscore in variables from outside. this is an old behavior forced by register globals so i would say its a bug since . is valid in array keys. for sample: call a script like http://www.example.com/?my.var=1 now $_GET will look like this: Array ( [my_var]

Re: [PHP-DEV] register globals - PHP6 still replaces . in variables from outside

2008-02-24 Thread Scott MacVicar
The old behaviour would have to remain as well as anything new as it isn't easy to simply change your script. You'd need to track down all your input and change any references of x.y to x_y to ensure you don't break anything. Scott Sebastian wrote: hi, PHP6 still replaces . with an