object has ket in php code example Example: php does property exist Click to copyif(property_exists($car,color)){ //$car->color exists }