Hello, Are there any plans to add object type casting support in PHP?
For example:
$circle = (Circle) ShapeFactory::createShape('circle');
$circle->radius = 10;
echo $circle->getArea();
It would be great if this feature could be added to 5.5 :)
__
Raymond Irving
