|
Posted by Michael Fesser on 01/14/08 13:33
..oO(thib´)
>Peter Pei wrote:
>> string key is fine, I meant u were closer on the number key thing
>
>O-kay
>Did some little search then, and found the logical reason: hellish globals
>strike again. Even if register_global is off, PHP throws this notice simply
>because of variables naming limitations (in this case it cannot start with
>numbers).
Correct.
>As far as we don't register globals, I think we can simply @ignore this
>notice and sleep well (correct me if there's something else).
The notice "Skipping numeric key 0 ..." also means that these variables
are _not_ stored in the session file, hence you cannot ignore it.
Currently $_SESSION acts as an associative array only, so no numeric
keys are allowed.
Micha
Navigation:
[Reply to this message]
|