note 74443 deleted from function.unset by colder

From: Date: Wed, 11 Apr 2007 18:27:00 +0000
Subject: note 74443 deleted from function.unset by colder
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-125305@lists.php.net to get a copy of this message
Note Submitter: A.P. Reason: in docs ---- (PHP 5.2.0) There is undocumented support to overload behavior of isset and unset operators. Example: class x { function __isset( $name ) { echo "have fun!"; } } $x = new x(); isset( $x->test ); Produce: "have fun!" So do it :)

« previous php.notes (#125305) next »