summaryrefslogtreecommitdiff
path: root/Zend/tests/bug63982.phpt
blob: 4318a5091c93941c99ff3912c1da72e0ee1a2871 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
Bug #63982 (isset() inconsistently produces a fatal error on protected property)
--FILE--
<?php
class Test {
        protected $protectedProperty;
}

$test = new Test();

var_dump(isset($test->protectedProperty));
var_dump(isset($test->protectedProperty->foo));
--EXPECT--
bool(false)
bool(false)