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
; To: Sent: Tuesday, October 09, 2012 7:40 PM Subject: [PHP-WIN] Weird/strange issue with PHP file Have a main, index.php file that loads another one in using the require() function, and that second file has a class/object defined in it, with properties, functions, etc., including the fol

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

2012-10-09 Thread Jacob Kruger
Have a main, index.php file that loads another one in using the require() function, and that second file has a class/object defined in it, with properties, functions, etc., including the following function definition: public function setPosition($sPlayer = "red", $iPosition = 3, $iPieceIndex = 0