Example:
error_reporting(E_ALL | E_STRICT);
class Test {}
$obj = new Test();
$obj->undeclared = "oops"; // I want an error here !! :(
echo $obj->algo; // oops
I tested it on PHP 5.2.11 and 5.3.0.
I don't want dynamic properties in my objects.
Is possible to force PHP to raise an ERROR in that situation ?