Home
last modified time | relevance | path

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

/PHP-8.2/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 */
47 string(10) "ltrim test"
48 string(13) " ltrim test"
49 string(18) " ltrim test"
50 string(10) "ltrim test"
51 string(11) " ltrim test"
52 string(10) "ltrim test"
53 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
7 var_dump('ABC' === ltrim('ABC'));
10 var_dump("ABC \0\t\n" === ltrim(" \0\t\nABC \0\t\n"));
13 var_dump(" \0\t\nABC \0\t\n" === ltrim(" \0\t\nABC \0\t\n",''));
/PHP-8.2/Zend/tests/
H A Dbug55509.phpt22 $value = (int)ltrim($tmp[1], " ")*1024;
/PHP-8.2/ext/openssl/tests/
H A Dopenssl_pkey_new_basic.phpt12 var_dump(strcasecmp(ltrim($expected, '0'), bin2hex($bin_key)));
/PHP-8.2/ext/standard/
H A Dbasic_functions.stub.php1615 function ltrim(string $string, string $characters = " \n\r\t\v\0"): string {}
H A Dbasic_functions_arginfo.h2448 ZEND_FUNCTION(ltrim);
3081 ZEND_SUPPORTS_COMPILE_TIME_EVAL_FE(ltrim, arginfo_ltrim)
H A Dstring.c837 PHP_FUNCTION(ltrim) in PHP_FUNCTION() argument
/PHP-8.2/sapi/fpm/tests/
H A Dtester.inc1452 $this->error = $prefix ? 'ERROR: ' . $msg : ltrim($msg);

Completed in 46 milliseconds