Searched refs:chop (Results 1 – 7 of 7) sorted by relevance
/PHP-8.1/ext/standard/tests/strings/ |
H A D | chop_variation5.phpt | 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 ", true) ); /* with boolean value as second Argu… 24 string(9) "chop test" 25 string(12) "chop test " 26 string(17) "chop test " 27 string(9) "chop test" 28 string(10) "chop test " 29 string(9) "chop test" 30 string(9) "chop test" [all …]
|
H A D | chop_basic.phpt | 2 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 D | chop_variation4.phpt | 2 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 D | chop_variation3.phpt | 2 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.1/Zend/tests/ |
H A D | bug43201.phpt | 19 $ref = chop($undef); 33 Deprecated: chop(): Passing null to parameter #1 ($string) of type string is deprecated in %s on li… 39 Deprecated: chop(): Passing null to parameter #1 ($string) of type string is deprecated in %s on li… 45 Deprecated: chop(): Passing null to parameter #1 ($string) of type string is deprecated in %s on li… 51 Deprecated: chop(): Passing null to parameter #1 ($string) of type string is deprecated in %s on li… 57 Deprecated: chop(): Passing null to parameter #1 ($string) of type string is deprecated in %s on li… 63 Deprecated: chop(): Passing null to parameter #1 ($string) of type string is deprecated in %s on li…
|
/PHP-8.1/ext/standard/ |
H A D | basic_functions.stub.php | 733 function chop(string $string, string $characters = " \n\r\t\v\0"): string {} function
|
H A D | basic_functions_arginfo.h | 3103 ZEND_FALIAS(chop, rtrim, arginfo_chop)
|
Completed in 27 milliseconds