<?php class Foo { public function &__get($name) { echo "Fetching $name"; } } $foo = new Foo(); if (property_exists('madeup', $foo)) { }
You have javascript disabled. You will not be able to edit any code.