Home
last modified time | relevance | path

Searched refs:ltrim (Results 1 – 10 of 10) sorted by relevance

/PHP-8.0/ext/standard/tests/strings/
H A Dltrim.phpt2 Test ltrim() function
19 var_dump( ltrim($str, "\nusi") );
24 var_dump ( ltrim(" \t\0 ltrim test") ); /* without second Argument */
51 string(10) "ltrim test"
52 string(13) " ltrim test"
53 string(18) " ltrim test"
55 string(10) "ltrim test"
56 string(11) " ltrim test"
57 string(10) "ltrim test"
58 string(10) "ltrim test"
[all …]
H A Dltrim_error.phpt2 Test ltrim() function : error conditions
6 echo "*** Testing ltrim() : error conditions ***\n";
9 echo "\n-- Test ltrim function with various invalid charlists\n";
10 var_dump(ltrim($hello, "..a"));
11 var_dump(ltrim($hello, "a.."));
12 var_dump(ltrim($hello, "z..a"));
13 var_dump(ltrim($hello, "a..b..c"));
17 *** Testing ltrim() : error conditions ***
19 -- Test ltrim function with various invalid charlists
21 Warning: ltrim(): Invalid '..'-range, no character to the left of '..' in %s on line %d
[all …]
H A Dltrim_basic.phpt2 Test ltrim() function : basic functionality
6 echo "*** Testing ltrim() : basic functionality ***\n";
14 var_dump(ltrim($text));
17 var_dump(ltrim($hello, "=!"));
20 var_dump(ltrim($hello, "!oleH="));
23 var_dump(ltrim($alpha, "A..Z"));
27 var_dump(ltrim($binary, "\x00..\x1F"));
31 *** Testing ltrim() : basic functionality ***
H A Dtrim.phpt2 trim(), rtrim() and ltrim() functions
8 'ABC' === ltrim('ABC')
11 "ABC \\0\\t\\n" === ltrim(" \\0\\t\\nABC \\0\\t\\n")
14 " \\0\\t\\nABC \\0\\t\\n" === ltrim(" \\0\\t\\nABC \\0\\t\\n",'')
/PHP-8.0/ext/openssl/tests/
H A Dopenssl_pkey_new_basic.phpt8 var_dump(strcasecmp(ltrim($expected, '0'), bin2hex($bin_key)));
/PHP-8.0/Zend/tests/
H A Dbug55509.phpt22 $value = (int)ltrim($tmp[1], " ")*1024;
/PHP-8.0/ext/standard/
H A Dbasic_functions.stub.php558 function ltrim(string $string, string $characters = " \n\r\t\v\0"): string {} function
H A Dbasic_functions_arginfo.h2456 ZEND_FUNCTION(ltrim);
3091 ZEND_FE(ltrim, arginfo_ltrim)
H A Dstring.c874 PHP_FUNCTION(ltrim) in PHP_FUNCTION() argument
/PHP-8.0/
H A Drun-tests.php2254 $section_text['XFAIL'] = ltrim(substr($output, 5));

Completed in 46 milliseconds