xref: /PHP-5.4/Zend/tests/bug63982.phpt (revision 1a96fe0b)
1--TEST--
2Bug #63982 (isset() inconsistently produces a fatal error on protected property)
3--FILE--
4<?php
5class Test {
6        protected $protectedProperty;
7}
8
9$test = new Test();
10
11var_dump(isset($test->protectedProperty));
12var_dump(isset($test->protectedProperty->foo));
13--EXPECTF--
14bool(false)
15bool(false)
16