For some weird reason, I just cannot catch that exception when it happens
here is the code, it should work but I keep getting
Fatal error: Uncaught Error: Cannot use object of type Stuff as array in...
code:
try{
class Stuff
{
}
$stuff= new Stuff();
$stuff["test"]=0; <<<<<<< this should trigger the below catch
}
catch (Exception $e) {
$myLogger->Log($e);
}
thanks