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

1.1     ! misho       1: --TEST--
        !             2: Testing __unset declaring as static
        !             3: --FILE--
        !             4: <?php
        !             5: 
        !             6: class foo {    
        !             7:        static function __unset($a) {
        !             8:                print "unset\n";
        !             9:        }
        !            10: }
        !            11: 
        !            12: ?>
        !            13: --EXPECTF--
        !            14: Warning: The magic method __unset() must have public visibility and cannot be static in %s on line %d

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