Annotation of embedaddon/php/Zend/tests/errmsg_023.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: errmsg: access level must be the same or weaker
        !             3: --FILE--
        !             4: <?php
        !             5: 
        !             6: class test1 {
        !             7:        protected $var;
        !             8: }
        !             9: 
        !            10: class test extends test1 { 
        !            11:        private $var;
        !            12: }
        !            13: 
        !            14: echo "Done\n";
        !            15: ?>
        !            16: --EXPECTF--    
        !            17: Fatal error: Access level to test::$var must be protected (as in class test1) or weaker in %s on line %d

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