Annotation of embedaddon/php/tests/lang/010.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Testing function parameter passing with a return value
        !             3: --FILE--
        !             4: <?php
        !             5: function test ($b) {
        !             6:        $b++;
        !             7:        return($b);
        !             8: }
        !             9: $a = test(1);
        !            10: echo $a;
        !            11: ?>
        !            12: --EXPECT--
        !            13: 2

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