Searched refs:chop (Results 1 – 7 of 7) sorted by relevance
11 var_dump ( chop("chop test \t\0 ") ); /* without second Argument */13 var_dump ( chop("chop test ", NULL) ); /* with NULL as second Argument */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"[all …]
2 Test chop() function : basic functionality6 * Testing chop(): basic functionality9 echo "*** Testing chop() : basic functionality ***\n";15 // Calling chop() with default arguments16 var_dump( chop($str) );18 // Calling chop() with all arguments19 var_dump( chop($str, $charlist) );21 // Calling chop() with the charlist not present at the end of input string22 var_dump( chop($str, '!') );27 *** Testing chop() : basic functionality ***
2 Test chop() function : usage variations - strings with embedded nulls6 * Testing chop() : with nulls embedded in input string9 echo "*** Testing chop() : string with embedded nulls ***\n";28 var_dump( chop($string) );29 var_dump( chop($string, "\0") );30 var_dump( chop($string, '\0') );37 *** Testing chop() : string with embedded nulls ***
2 Test chop() function : usage variations - with heredoc string6 * Testing chop() : with heredoc strings9 echo "*** Testing chop() : with heredoc strings ***\n";51 var_dump( chop($string) );52 var_dump( chop($string, "12345o\0\n\t") );59 *** Testing chop() : with heredoc strings ***
19 $ref = chop($undef);
556 function chop(string $string, string $characters = " \n\r\t\v\0"): string {} function
3090 ZEND_FALIAS(chop, rtrim, arginfo_chop)
Completed in 23 milliseconds