Edit report at https://bugs.php.net/bug.php?id=65359&edit=1
ID: 65359
Updated by: yohgaki@php.net
Reported by: spam2 at rhsoft dot net
Summary: Unknown: Skipping numeric key 1 in Unknown on line 0
Status: Open
Type: Bug
Package: Session related
PHP Version: 5.4.17
-Assigned To:
+Assigned To: yohgaki
Block user comment: N
Private report: N
New Comment:
This error is raised at R_SHUTDOWN (Request Shutdown) that is all script
execution is *finished*. Therefore, there is no way to know which script caused
this.
Current session module uses special serializer that do not accept numeric key.
e.g. $_SESSION[1] = 'foo'; This limitation is came from register_globals.
I think it's safe that remove this limitation, but I have to look code again. I
also have plan to use plain serializer for session.
Previous Comments:
------------------------------------------------------------------------
[2013-07-30 20:02:27] spam2 at rhsoft dot net
uhm at least the full path of the invoked script should be known
hence it would be even better if it only says the folder
but wild guessing on a server with 600 domains?
"so there's no active script anymore"
but someone / something invoked a script in which
context whatever code runs
------------------------------------------------------------------------
[2013-07-30 12:12:55] johannes@php.net
This error happens while encoding the session after request end, so there's no active script
anymore. Not sure we can make it more verbose.
------------------------------------------------------------------------
[2013-07-30 11:35:52] spam2 at rhsoft dot net
Description:
------------
PHP Notice: Unknown: Skipping numeric key 1 in Unknown on line 0
it is ridiculous that PHP is thowing warnings and does not know at least the realpath of the
executed script to choose one of the 600 possible involved vhosts
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=65359&edit=1