Re: Weird/strange issue with PHP file

From: Date: Sun, 14 Oct 2012 05:33:42 +0000
Subject: Re: Weird/strange issue with PHP file
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-30961@lists.php.net to get a copy of this 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

« previous php.windows (#30961) next »