Searched defs:trim (Results 1 - 3 of 3) sorted by relevance

/PHP_TRUNK/sapi/phpdbg/tests/
H A Drun-tests.php358 $trim = trim($line); variable
360 switch (substr($trim, 0, 1)) {
361 case '#': if (($chunks = array_map('trim', preg_split('~:~', substr($trim, 1), 2)))) {
390 } else switch(substr($trim, 1, 1)) {
395 "~(\r\n)~", "\n", substr($trim, 1));
397 $line = trim($line);
474 $line = trim($line);
/PHP_TRUNK/ext/standard/
H A Dphp_string.h32 PHP_FUNCTION(trim); variable
/PHP_TRUNK/ext/json/
H A Djson.c700 char *trim = str; local
705 while (trim_len && (*trim == ' ' || *trim == '\t' || *trim == '\n' || *trim == '\r')) {
706 trim++;
711 while (trim_len && (trim[trim_len - 1] == ' ' || trim[trim_len - 1] == '\t' || trim[trim_len - 1] == '\n' || trim[trim_le
[all...]

Completed in 5 milliseconds