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

[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