|
Posted by Jerry Stuckle on 01/14/08 01:50
thib´ wrote:
> 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).
>
Yep, it's a minor annoyance, but I can understand it. Maybe this
restriction will be removed some day when they completely get rid of
register_globals :-)
> 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).
>
Probably could, but I personally don't like it. But then I always have
a name for anything I put in the $_SESSION variable anyway, so I can get
it back easily.
> Not talking about portability, of course.
>
> Thanks for making me discovering it out ;).
>
> -thib´
>
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|