I discovered something new today.
I have a PHP class with typical members, private, public and protected methods.
One of the methods is this:
protected function processThis($dataString)
{
$dataStringJson = json_decode($dataString);
}
And this spits out a warning:
json_decode() expects parameter 1 to be string, object given in .../File.php on line xxx
Wait a second, isn't PHP loosely typed and dynamically interpreted ?