Home
last modified time | relevance | path

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

/php-src/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-src/Zend/tests/
H A Dbug55509.phpt22 $value = (int)ltrim($tmp[1], " ")*1024;
/php-src/ext/openssl/tests/
H A Dopenssl_pkey_new_basic.phpt12 var_dump(strcasecmp(ltrim($expected, '0'), bin2hex($bin_key)));
/php-src/ext/standard/
H A Dbasic_functions.stub.php2332 function ltrim(string $string, string $characters = " \n\r\t\v\0"): string {}
H A Dbasic_functions_arginfo.h2522 ZEND_FUNCTION(ltrim);
H A Dstring.c695 PHP_FUNCTION(ltrim) in PHP_FUNCTION() argument
/php-src/build/
H A Dgen_stub.php1131 $parts = [...$this->className->getParts(), ltrim($this->methodName, '_')];
1651 . str_replace('_', '-', ltrim($this->name->methodName, '_'))
/php-src/sapi/fpm/tests/
H A Dtester.inc1555 $this->error = $prefix ? 'ERROR: ' . $msg : ltrim($msg);

Completed in 58 milliseconds