Re: Weird/strange issue with PHP file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux