Lines Matching refs:chop
2 Test chop() function : usage variations - miscellaneous arguments
6 * Testing chop() : with miscellaneous arguments
9 echo "*** Testing chop() : with miscellaneous arguments ***\n";
11 var_dump ( chop("chop test \t\0 ") ); /* without second Argument */
12 …var_dump ( chop("chop test " , "") ); /* no characters in second Argument …
13 var_dump ( chop("chop test ", NULL) ); /* with NULL as second Argument */
14 …var_dump ( chop("chop test ", true) ); /* with boolean value as second Argu…
15 …var_dump ( chop("chop test ", " ") ); /* with single space as second Argum…
16 …var_dump ( chop("chop test \t\n\r\0\x0B", "\t\n\r\0\x0B") ); /* with multiple escape sequences as…
17 …var_dump ( chop("chop testABCXYZ", "A..Z") ); /* with characters range as second A…
18 …var_dump ( chop("chop test0123456789", "0..9") ); /* with numbers range as second Argu…
19 …var_dump ( chop("chop test$#@", "#@$") ); /* with some special characters as s…
24 *** Testing chop() : with miscellaneous arguments ***
25 string(9) "chop test"
26 string(12) "chop test "
27 string(17) "chop test "
28 string(17) "chop test "
29 string(9) "chop test"
30 string(10) "chop test "
31 string(9) "chop test"
32 string(9) "chop test"
33 string(9) "chop test"