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

1.1     ! misho       1: --TEST--
        !             2: Using $this when out of context
        !             3: --FILE--
        !             4: <?php
        !             5: 
        !             6: try {
        !             7:        $this->a = 1;
        !             8: } catch (Exception $e) {
        !             9: }
        !            10: 
        !            11: ?>
        !            12: --EXPECTF--
        !            13: Fatal error: Using $this when not in object context in %s on line %d

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