Thursday, November 10, 2005

How well do you know your PHP?


class foo { public function __toString() { return "Whee"; } }

$f = new foo(); print (string)$f; print $f; print $f->__toString();


What did the little pig go all the way home?


Object id #59WheeWhee
Post a Comment