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

/PHP_TRUNK/sapi/phpdbg/tests/
H A Drun-tests.php363 $trim = trim($line); variable
365 switch (substr($trim, 0, 1)) {
366 case '#': if (($chunks = array_map('trim', preg_split('~:~', substr($trim, 1), 2)))) {
395 } else switch(substr($trim, 1, 1)) {
400 "~(\r\n)~", "\n", substr($trim, 1));
402 $line = trim($line);
478 $line = trim($line);
/PHP_TRUNK/ext/standard/
H A Dphp_string.h32 PHP_FUNCTION(trim); variable
/PHP_TRUNK/ext/json/
H A Djson.c695 char *trim = str; local
702 while (trim_len && (*trim == ' ' || *trim == '\t' || *trim == '\n' || *trim == '\r')) {
703 trim++;
708 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