--TEST-- Bug #50146 (property_exists: Closure object cannot have properties) --FILE-- hasProperty('b')); var_dump(isset($obj->a)); ?> --EXPECTF-- bool(false) bool(false) Fatal error: Closure object cannot have properties in %s on line %d