How can I access the property/ value of an array which has been converted into an object? For instance, I want to access the value in the index 0,
$obj = (object) array('qualitypoint', 'technologies', 'India');
var_dump($obj->0);
error,
Parse error: syntax error, unexpected T_LNUMBER, expecting T_STRING or T_VARIABLE or '{' or '$' in C:...converting_to_object.php on line 11