Question:Which is the correct output of the following script?
$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  Moderated
+ Report
Total Preview: 790

Copyright © 2024. Powered by Intellect Software Ltd