<?php$s = new SplObjectStorage;$o = new StdClass;$s[$o] = new DOMDocument(); echo $s->serialize();
Standard input is empty
x:i:1;O:8:"stdClass":0:{},O:11:"DOMDocument":0:{};m:a:0:{}
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!