<?php class X {}; class Y implements Serializable{ }; $x = new X(); $y = new Y(); var_dump(serialize($x)); var_dump(serialize($y));
You have javascript disabled. You will not be able to edit any code.