Re: [PHP-WIN] Weird/strange issue with PHP file

2012-10-14 Thread Jacob Kruger
ilt-in server logs, but anyway. Stay well Jacob Kruger Blind Biker Skype: BlindZA '...fate had broken his body, but not his spirit...' - Original Message - From: "Niel Archer" To: Sent: Sunday, October 14, 2012 7:33 AM Subject: Re: [PHP-WIN] Weird/strange issu

Re: [PHP-WIN] Weird/strange issue with PHP file

2012-10-13 Thread Niel Archer
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 serv

Re: [PHP-WIN] Weird/strange issue with PHP file

2012-10-09 Thread Jacob Kruger
Ok, now testing it on various hosting packages/software on windows7 64 bit machine now brings up following reactions. On XAMPP, which tells me the following from phpinfo(): PHP Version 5.3.8 This line: $iIndex = array_flip($this->arPlayers)[$sPlayer]; Returns/brings up the following error mess