php-windows Digest 14 Oct 2012 05:34:27 -0000 Issue 4075

Topics (messages 30961 through 30961):

Re: Weird/strange issue with PHP file
        30961 by: Niel Archer

Administrivia:

To subscribe to the digest, e-mail:
        php-windows-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-windows-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-wind...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
Hi

> $iIndex = array_flip($this->arPlayers)[$sPlayer];

This is array dereferencing, which was added with PHP 5.4 so it will
cause an error on previous versions.

see example 7 at http://php.net/manual/en/language.types.array.php

As to why it hangs, for an excessive time, on your productions server. I
suggest checking the error logs for details. You do write errors to a
log, don't you?  ;-)

--
Niel Archer


--- End Message ---

Reply via email to