Question:Which is the correct output of the following script?$model="Toyota"; $obj=(object) $model; print $obj->scalar;
$model="Toyota"; $obj=(object) $model; print $obj->scalar;
A Fatal Error B Object C Toyota D Warning: Scalar property is not defined in the object
+ Answer ModeratedC
+ Report