<?php $object = new stdClass(); $object->hello = 'Hello world'; /* object(stdClass)#1 (1) { ["hello"]=> string(11) "Hello world" } */
Standard input is empty
object(stdClass)#1 (1) { ["hello"]=> string(11) "Hello world" } string(50) "O:8:"stdClass":1:{s:5:"hello";s:11:"Hello world";}"