/php-src/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_local_infile_overrides_local_infile_directory.phpt | 56 $actual_value = trim(strval($ret[$offset][$key]));
|
/php-src/ext/pdo_pgsql/tests/ |
H A D | bug_33876.phpt | 92 $err[2] = trim(current(explode("\n", $err[2])));
|
H A D | bug_49985.phpt | 27 echo trim(current(explode("\n", $e->getMessage())))."\n";
|
/php-src/win32/build/ |
H A D | mkdist.php | 196 $hdr['checksum'] = octdec(trim($hdr['checksum'])); 204 $hdr['size'] = octdec(trim($hdr['size']));
|
/php-src/ext/odbc/tests/ |
H A D | odbc_persistent_close.phpt | 45 return $res["CONTEXT_INFO"] ? trim($res["CONTEXT_INFO"]) : null;
|
/php-src/sapi/cli/tests/ |
H A D | php_cli_server_pdeathsig.phpt | 17 return preg_split('(\s)', trim($lines ?? ''), flags: PREG_SPLIT_NO_EMPTY);
|
H A D | bug64529.phpt | 20 $expect_executable = trim(`which expect`);
|
H A D | sapi_windows_set_ctrl_handler.phpt | 42 echo trim(shell_exec($cmd)) . "\n";
|
H A D | cli_process_title_unix.phpt | 40 $loaded_title = trim($ps_output);
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_fetch_field_flags.phpt | 93 $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 D | mysqli_debug_mysqlnd_only.phpt | 56 return trim(substr(file_get_contents($trace_file), 0, 100024)); 77 $line = trim($line); 101 $line = trim($line);
|
H A D | mysqli_fetch_array_large.phpt | 91 $val = trim($limit);
|
H A D | mysqli_debug_mysqlnd_control_string.phpt | 57 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 D | mysqli_connect_attr.phpt | 47 if (isset($host) && trim($host) != '') {
|
/php-src/ext/mbstring/tests/ |
H A D | mb_strimwidth.phpt | 59 // (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 D | mb_decode_mimeheader_variation4.phpt | 42 // While the old implementation would generally trim off whitespace at the end of the input string,
|
H A D | gh9535.phpt | 76 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 D | tostring_001.phpt | 66 var_dump(trim($o)); 67 var_dump(trim((string)$o));
|
/php-src/ext/soap/tests/ |
H A D | custom_content_type.phpt | 24 $content = trim(file_get_contents("php://input")) . PHP_EOL;
|
/php-src/ext/mbstring/ |
H A D | gen_rare_cp_bitvec.php | 17 $line = trim($line);
|
/php-src/ext/standard/tests/array/ |
H A D | bug77931.phpt | 7 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 D | finfo_upstream.phpt | 17 $exp = trim(file_get_contents($tp));
|
/php-src/sapi/phpdbg/ |
H A D | create-test.php | 100 $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 D | odt.php | 14 if (!trim($reader->value)) {
|
/php-src/ext/standard/tests/strings/ |
H A D | trim.phpt | 2 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"));
|