<?php class Foo { function bar(stdClass $arg=null) { var_dump($arg); } } $foo = new Foo; $foo->bar(new DateTime());
You have javascript disabled. You will not be able to edit any code.