Annotation of embedaddon/php/ext/standard/tests/strings/strspn.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Test strspn() behavior
        !             3: --FILE--
        !             4: <?php
        !             5: $a = "22222222aaaa bbb1111 cccc";
        !             6: $b = "1234";
        !             7: var_dump($a);
        !             8: var_dump($b);
        !             9: var_dump(strspn($a,$b));
        !            10: var_dump(strspn($a,$b,2));
        !            11: var_dump(strspn($a,$b,2,3));
        !            12: ?>
        !            13: --EXPECT--
        !            14: string(25) "22222222aaaa bbb1111 cccc"
        !            15: string(4) "1234"
        !            16: int(8)
        !            17: int(6)
        !            18: int(3)

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