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

1.1     ! misho       1: --TEST--
        !             2: testing @ and error_reporting - 4
        !             3: --FILE--
        !             4: <?php
        !             5: 
        !             6: error_reporting(E_ALL);
        !             7: 
        !             8: function foo() {
        !             9:        echo $undef;
        !            10:        error_reporting(E_ALL|E_STRICT);
        !            11: }
        !            12: 
        !            13: 
        !            14: foo(@$var);
        !            15: 
        !            16: var_dump(error_reporting());
        !            17: 
        !            18: echo "Done\n";
        !            19: ?>
        !            20: --EXPECTF--
        !            21: Notice: Undefined variable: undef in %s on line %d
        !            22: int(32767)
        !            23: Done

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