Home
last modified time | relevance | path

Searched refs:chop (Results 1 – 7 of 7) sorted by relevance

/PHP-8.0/ext/standard/tests/strings/
H A Dchop_variation5.phpt11 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 …]
H A Dchop_basic.phpt2 Test chop() function : basic functionality
6 * Testing chop(): basic functionality
9 echo "*** Testing chop() : basic functionality ***\n";
15 // Calling chop() with default arguments
16 var_dump( chop($str) );
18 // Calling chop() with all arguments
19 var_dump( chop($str, $charlist) );
21 // Calling chop() with the charlist not present at the end of input string
22 var_dump( chop($str, '!') );
27 *** Testing chop() : basic functionality ***
H A Dchop_variation4.phpt2 Test chop() function : usage variations - strings with embedded nulls
6 * Testing chop() : with nulls embedded in input string
9 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 ***
H A Dchop_variation3.phpt2 Test chop() function : usage variations - with heredoc string
6 * Testing chop() : with heredoc strings
9 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 ***
/PHP-8.0/Zend/tests/
H A Dbug43201.phpt19 $ref = chop($undef);
/PHP-8.0/ext/standard/
H A Dbasic_functions.stub.php556 function chop(string $string, string $characters = " \n\r\t\v\0"): string {} function
H A Dbasic_functions_arginfo.h3090 ZEND_FALIAS(chop, rtrim, arginfo_chop)

Completed in 39 milliseconds