Annotation of embedaddon/php/ext/standard/tests/strings/strrchr.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: strrchr() tests
                      3: --FILE--
                      4: <?php
                      5: 
                      6: var_dump(strrchr("", ""));
                      7: var_dump(strrchr("abc", ""));
                      8: var_dump(strrchr("", "abc"));
                      9: var_dump(strrchr("abc", "abc"));
                     10: var_dump(strrchr("test ".chr(0)." test", " "));
                     11: var_dump(strrchr("test".chr(0)."string", "t"));
                     12: 
                     13: echo "Done\n";
                     14: ?>
                     15: --EXPECTF--    
                     16: bool(false)
                     17: bool(false)
                     18: bool(false)
                     19: string(3) "abc"
                     20: string(5) " test"
                     21: string(5) "tring"
                     22: Done

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