Possible Duplicate:
Cast the current object ($this) to a descendent class
Is it possible to perform the object casting from base class object to child class object in php. My base class and child class is as follows.
<?php
class Base
{
}
class child extends Base
{
}
$b=new Base();
$c=(Child)$b;//MY QUESTION IS CAN I PERFORM THIS TASK???
?>