File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / Zend / tests / bug63982.phpt
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Mon Jul 22 01:32:17 2013 UTC (11 years, 3 months ago) by misho
CVS tags: MAIN, HEAD
Initial revision

--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));
--EXPECTF--
bool(false)
bool(false)

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>