Home
last modified time | relevance | path

Searched refs:trim (Results 26 – 50 of 87) sorted by relevance

1234

/php-src/ext/mbstring/tests/
H A Dbug79787.phpt2 Bug #79787 mb_strimwidth does not trim string
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 Dgh9535.phpt76 echo $encoding.trim(': '.$reconverted_str).PHP_EOL;
82 echo $encoding.trim(': '.mb_strcut($input, 0, $bytes_length, $encoding)).PHP_EOL;
/php-src/ext/standard/tests/strings/
H A Dbug22008.phpt18 echo trim(strip_tags($html, '<b>'))."\n";
H A Dsetlocale_basic3.phpt73 $new_currency = trim($locale_info['int_curr_symbol']);
77 if( trim($currency_symbol[$new_locale]) == $new_currency) {
H A Dsetlocale_variation1.phpt72 $new_currency = trim($locale_info['int_curr_symbol']);
76 if( trim($currency_symbol[$new_locale]) == $new_currency) {
/php-src/Zend/tests/
H A Dbug36513.phpt6 …echo "'".trim(str_replace("&nbsp;", " ", htmlspecialchars_decode(strip_tags(highlight_string($s,1)…
H A Dbug55509.phpt42 $value = trim($tmp[1], " ");
52 $s = trim(shell_exec("wmic OS get FreeVirtualMemory /Value 2>nul"));
H A Dbug64677.phpt10 $cat->show_output('Files: ', trim((string) `cd .`)); // this gives invalid args to shell_exec
/php-src/ext/mbstring/
H A Dgen_rare_cp_bitvec.php17 $line = trim($line);
/php-src/ext/simplexml/tests/
H A D026.phpt21 echo ">" . trim($xml) . "\n";
H A D028.phpt19 echo ">" . trim($xml) . "\n";
H A D009.phpt34 var_dump(trim($val));
H A D004.phpt32 var_dump(trim((string)$elem2));
/php-src/tests/classes/
H A Dtostring_001.phpt66 var_dump(trim($o));
67 var_dump(trim((string)$o));
/php-src/ext/fileinfo/tests/
H A Dfinfo_upstream.phpt17 $exp = trim(file_get_contents($tp));
/php-src/ext/mysqli/tests/
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);
/php-src/ext/dom/tests/
H A Dlibxml_global_state_entity_loader_bypass.phpt23 var_dump(trim($error->message));
/php-src/ext/reflection/tests/
H A D005.phpt11 return trim(substr($c, 3, -2));
H A Dbug64936.phpt13 return trim(substr($c, 3, -2));
/php-src/ext/pdo_pgsql/tests/
H A Dbug_49985.phpt27 echo trim(current(explode("\n", $e->getMessage())))."\n";
/php-src/sapi/cli/tests/
H A Dbug64529.phpt20 $expect_executable = trim(`which expect`);
H A Dphp_cli_server_pdeathsig.phpt17 return preg_split('(\s)', trim($lines ?? ''), flags: PREG_SPLIT_NO_EMPTY);
/php-src/ext/libxml/tests/
H A D002.phpt50 $return .= trim($error->message) . "\n Line: $error->line" . "\n Column: $error->column";
/php-src/.github/
H A Dnightly_matrix.php24 $current_commit_hash = trim(shell_exec('git rev-parse origin/' . $branch['ref']));

Completed in 31 milliseconds

1234