/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
echo $obj->name; //prints foo echo $obj->interest[1]; //prints php