Home
last modified time | relevance | path

Searched refs:trim (Results 1 – 25 of 87) sorted by path

1234

/php-src/.github/
H A Dnightly_matrix.php24 $current_commit_hash = trim(shell_exec('git rev-parse origin/' . $branch['ref']));
/php-src/Zend/tests/
H A Dbug36513.phpt6 …echo "'".trim(str_replace(" ", " ", 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
H A Doverloaded_func_002.phpt8 var_dump($a->{trim(" test")}());
/php-src/Zend/
H A Dzend_vm_gen.php1661 $op = trim(fgets($f));
1780 if (trim($prolog) != "" || trim($epilog) != "") {
2291 $id = trim(substr($rule, 0, $n));
2292 $val = trim(substr($rule, $n+1));
2580 $p = trim($p);
/php-src/build/
H A Dgen_stub.php620 … $simpleTypeName = trim(substr($typeString, $simpleTypeOffset, $i - $simpleTypeOffset));
4022 return trim($matches[1]);
4082 if (preg_match($regex, trim($commentLine), $matches)) {
4566 $text = trim($comment->getText());
/php-src/ext/com_dotnet/tests/
H A Dbug66431_1.phpt37 /* trim the returned text as we'll get windows eol from a word doc. */
38 $result = (trim($check_text) == $text);
/php-src/ext/dom/tests/
H A Ddom_test.inc34 if (strlen(trim($node->nodeValue))) {
54 print str_repeat(" ", $spaces) . trim($node->nodeValue) . "\n";
H A Dlibxml_global_state_entity_loader_bypass.phpt23 var_dump(trim($error->message));
/php-src/ext/ffi/tests/
H A D100.phpt30 var_dump(trim(explode("\n",$zend->get_zend_version())[0]));
31 //var_dump(trim(FFI::string($zend->get_zend_version())));
H A D101.phpt31 var_dump(trim(explode("\n",$f())[0]));
32 //var_dump(trim(FFI::string($zend->get_zend_version())));
/php-src/ext/fileinfo/tests/
H A Dfinfo_upstream.phpt17 $exp = trim(file_get_contents($tp));
/php-src/ext/libxml/tests/
H A D002.phpt50 $return .= trim($error->message) . "\n Line: $error->line" . "\n Column: $error->column";
/php-src/ext/mbstring/
H A Dgen_rare_cp_bitvec.php17 $line = trim($line);
/php-src/ext/mbstring/libmbfl/mbfl/
H A Dgenerate_name_perfect_hash_table.php11 return trim($item, "&\n\t ");
27 $result[$current_struct_name] = trim($name, " \n\t\"");
95 $asso_values = trim($matches[1], "\t \n{");
103 $word_list = trim($matches[1], "\t \n{");
/php-src/ext/mbstring/tests/
H A Dbug79787.phpt2 Bug #79787 mb_strimwidth does not trim 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;
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 Dmb_decode_numericentity.phpt12 return trim(ob_get_clean());
H A Dmb_decode_numericentity_large_ints.phpt14 return trim(ob_get_clean());
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_trim.phpt9 echo "== Copy from trim ==\n";
43 echo "== Very long trim characters ==\n";
85 == Copy from trim ==
115 == Very long trim characters ==
/php-src/ext/mbstring/ucgendat/
H A Ducgendat.php221 $line = trim($line);
H A Ductest.php30 $line = trim($line);

Completed in 52 milliseconds

1234