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
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.
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
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
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,
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
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
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]
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