Home
last modified time | relevance | path

Searched refs:trim (Results 26 – 50 of 89) sorted by last modified time

1234

/php-src/ext/pdo_mysql/tests/
H A Dpdo_mysql_local_infile_overrides_local_infile_directory.phpt56 $actual_value = trim(strval($ret[$offset][$key]));
/php-src/ext/pdo_pgsql/tests/
H A Dbug_33876.phpt92 $err[2] = trim(current(explode("\n", $err[2])));
H A Dbug_49985.phpt27 echo trim(current(explode("\n", $e->getMessage())))."\n";
/php-src/win32/build/
H A Dmkdist.php196 $hdr['checksum'] = octdec(trim($hdr['checksum']));
204 $hdr['size'] = octdec(trim($hdr['size']));
/php-src/ext/odbc/tests/
H A Dodbc_persistent_close.phpt45 return $res["CONTEXT_INFO"] ? trim($res["CONTEXT_INFO"]) : null;
/php-src/sapi/cli/tests/
H A Dphp_cli_server_pdeathsig.phpt17 return preg_split('(\s)', trim($lines ?? ''), flags: PREG_SPLIT_NO_EMPTY);
H A Dbug64529.phpt20 $expect_executable = trim(`which expect`);
H A Dsapi_windows_set_ctrl_handler.phpt42 echo trim(shell_exec($cmd)) . "\n";
H A Dcli_process_title_unix.phpt40 $loaded_title = trim($ps_output);
/php-src/ext/mysqli/tests/
H A Dmysqli_fetch_field_flags.phpt93 $expected_flags = trim(str_ireplace($name, '', $expected_flags));
151 $expected_flags = trim(str_replace('NO_DEFAULT_VALUE', '', $expected_flags));
159 $expected_flags = trim(str_replace('UNSIGNED', '', $expected_flags));
H A Dmysqli_debug_mysqlnd_only.phpt56 return trim(substr(file_get_contents($trace_file), 0, 100024));
77 $line = trim($line);
101 $line = trim($line);
H A Dmysqli_fetch_array_large.phpt91 $val = trim($limit);
H A Dmysqli_debug_mysqlnd_control_string.phpt57 return trim(substr(file_get_contents($trace_file), 0, 100024));
101 $line = trim($line);
117 $line = trim($line);
128 $line = trim($line);
137 $line = trim($line);
173 $line = trim($line);
H A Dmysqli_connect_attr.phpt47 if (isset($host) && trim($host) != '') {
/php-src/ext/mbstring/tests/
H A Dmb_strimwidth.phpt59 // (It will still output the trim marker, pushing the width beyond the stipulated 'maximum')
63 // (Likewise, it will still output the trim marker)
72 // Since the output will not reach the END of the string, the trim marker
91 // With max width of 100, trim marker will not be added
98 // Since width of trim marker is 3, this will only get a single char from string
105 // Skip 15 characters, which leaves a total width of 42. Then trim string down
171 …die("Output should have just been trim marker. string=" . $str . " result=" . $result . " from=" .…
187 die("Expected trim marker");
211 // it was wider than requested width, if the trim marker string was wider than
H A Dmb_decode_mimeheader_variation4.phpt42 // While the old implementation would generally trim off whitespace at the end of the input string,
H A Dgh9535.phpt76 echo $encoding.trim(': '.$reconverted_str).PHP_EOL;
82 echo $encoding.trim(': '.mb_strcut($input, 0, $bytes_length, $encoding)).PHP_EOL;
/php-src/tests/classes/
H A Dtostring_001.phpt66 var_dump(trim($o));
67 var_dump(trim((string)$o));
/php-src/ext/soap/tests/
H A Dcustom_content_type.phpt24 $content = trim(file_get_contents("php://input")) . PHP_EOL;
/php-src/ext/mbstring/
H A Dgen_rare_cp_bitvec.php17 $line = trim($line);
/php-src/ext/standard/tests/array/
H A Dbug77931.phpt7 array_map('trim', array(), 1);
12 array_map('trim', array(), array(), true);
17 array_map('trim', array(), array(), array(), null);
/php-src/ext/fileinfo/tests/
H A Dfinfo_upstream.phpt17 $exp = trim(file_get_contents($tp));
/php-src/sapi/phpdbg/
H A Dcreate-test.php100 $desc = trim(fgets(STDIN));
104 $testfile = trim(fgets(STDIN));
107 $y = trim(fgets(STDIN));
116 $input = trim($input);
/php-src/ext/zip/examples/
H A Dodt.php14 if (!trim($reader->value)) {
/php-src/ext/standard/tests/strings/
H A Dtrim.phpt2 trim(), rtrim() and ltrim() functions
6 var_dump('ABC' === trim('ABC'));
9 var_dump('ABC' === trim(" \0\t\nABC \0\t\n"));
12 var_dump(" \0\t\nABC \0\t\n" === trim(" \0\t\nABC \0\t\n",''));
15 var_dump("ABC\x50\xC1" === trim("ABC\x50\xC1\x60\x90","\x51..\xC0"));
16 var_dump("ABC\x50" === trim("ABC\x50\xC1\x60\x90","\x51..\xC1"));
17 var_dump("ABC" === trim("ABC\x50\xC1\x60\x90","\x50..\xC1"));
18 var_dump("ABC\x50\xC1" === trim("ABC\x50\xC1\x60\x90","\x51..\xC0"));
19 var_dump("ABC\x50" === trim("ABC\x50\xC1\x60\x90","\x51..\xC1"));
20 var_dump("ABC" === trim("ABC\x50\xC1\x60\x90","\x50..\xC1"));

Completed in 60 milliseconds

1234