Create Object and check its type
<?php class employee { var $emp_code; var $name; var $address; var $department; var $sex; var $date_of_birth; var $salary; } $dave = new employee; $alice = new employee; echo(is_object($dave)); ?>