Source Code:
(back to article)
<?php $obj = isset($obj) ? $obj : new stdClass(); $obj->name = "John"; echo $obj->name; // Output: // John ?>
Result:
Report an issue