Home
last modified time | relevance | path

Searched refs:str_replace (Results 1 – 25 of 119) sorted by last modified time

12345

/PHP-5.5/win32/build/
H A Dmkdist.php215 $phplib = str_replace(".dll", ".lib", $phpdll);
219 $phppdb = str_replace(".dll", ".pdb", $phpdll);
/PHP-5.5/tests/classes/
H A Dprivate_members_serialization.phpt20 var_dump(str_replace("\0", '\0', serialize(new bar())));
/PHP-5.5/
H A Dserver-tests.php975 $user_email = str_replace("@", " at ", str_replace(".", " dot ", $user_email));
1099 $filename = str_replace('\\','/',$filename);
1100 $cwd = str_replace('\\','/',$this->cwd);
1249 $uri = str_replace('\\', '/', $uri);
1456 $wanted_re = str_replace(
1461 $wanted_re = str_replace(
1466 $wanted_re = str_replace(
1471 $wanted_re = str_replace(
1480 $wanted_re = str_replace('%a', '.+', $wanted_re);
1481 $wanted_re = str_replace('%A', '.*', $wanted_re);
[all …]
H A Drun-tests.php361 $user_email = str_replace("@", " at ", str_replace(".", " dot ", $user_email));
1316 $shortname = str_replace($cwd . '/', '', $file);
1948 $wanted_re = str_replace(
1953 $wanted_re = str_replace(
1958 $wanted_re = str_replace(
1963 $wanted_re = str_replace(
1972 $wanted_re = str_replace('%a', '.+', $wanted_re);
1973 $wanted_re = str_replace('%A', '.*', $wanted_re);
1974 $wanted_re = str_replace('%w', '\s*', $wanted_re);
1976 $wanted_re = str_replace('%d', '\d+', $wanted_re);
[all …]
/PHP-5.5/ext/xmlreader/tests/
H A D012.phpt27 $xmlstring = str_replace('012.dtd', dirname(__FILE__).'/012.dtd', $xmlstring);
29 $xmlstring = str_replace('\\',"/", $xmlstring);
43 $file = str_replace('\\',"/", $file);
/PHP-5.5/ext/tidy/tests/
H A D004.phpt9 echo str_replace("\r", "", tidy_get_error_buffer($a));
/PHP-5.5/ext/standard/tests/strings/
H A Dsubstr_replace.phpt37 echo str_replace("\n","","substr_replace(".var_export($str,1).", ".var_export($repl,1).", ".var_exp…
40 echo str_replace("\n","","substr_replace(".var_export($str,1).", ".var_export($repl,1).", ".var_exp…
54 echo str_replace("\n","","substr_replace(".var_export($str,1).", ".var_export($repl,1).", ".var_exp…
59 echo str_replace("\n","","substr_replace(".var_export($str,1).", ".var_export($repl,1).", ".var_exp…
64 echo str_replace("\n","","substr_replace(".var_export($str,1).", ".var_export($repl,1).", ".var_exp…
69 echo str_replace("\n","","substr_replace(".var_export($str,1).", ".var_export($repl,1).", ".var_exp…
82 echo str_replace("\n","","substr_replace(".var_export($str,1).", ".var_export($repl,1).",".var_expo…
156 echo str_replace("\n","","substr_replace(".var_export($str,1).", ".var_export($repl,1).",".var_expo…
231 echo str_replace("\n","","substr_replace(".var_export($str,1).", ".var_export($repl,1).",".var_expo…
307 echo str_replace("\n","","substr_replace(".var_export($str,1).", ".var_export($repl,1).",".var_expo…
[all …]
H A Dstr_replace_variation3.phpt2 Test str_replace() function
8 Prototype: mixed str_replace(mixed $search, mixed $replace,
18 var_dump( str_replace(array("a", "a", "b"),
24 var_dump( str_replace(array("a", "a", "b"),
70 var_dump(str_replace( array("a", "a", "b"),
77 var_dump(str_replace( array("a", "a", "b"),
123 var_dump( str_replace("", "FOUND", $str, $count) );
131 var_dump( str_replace("world", "FOUND", "$str") );
132 var_dump( str_replace("world'S", "FOUND", "$str'S") );
133 var_dump( str_replace("worldS", "FOUND", "$strS") );
[all …]
H A Dstr_replace.phpt2 Test str_replace() function
16 var_dump( str_replace("", "", "") );
18 var_dump( str_replace("e", "b", "test") );
20 var_dump( str_replace("", "", "", $count) );
23 var_dump( str_replace("q", "q", "q", $count) );
157 var_dump(str_replace( array("a", "a", "b"),
229 var_dump( str_replace() );
230 var_dump( str_replace("") );
231 var_dump( str_replace(NULL) );
232 var_dump( str_replace(1, 2) );
[all …]
H A Dstr_replace_basic.phpt2 Test str_replace() function basic function
8 Prototype: mixed str_replace(mixed $search, mixed $replace,
14 echo "\n*** Testing str_replace() on basic operations ***\n";
16 var_dump( str_replace("", "", "") );
18 var_dump( str_replace("e", "b", "test") );
20 var_dump( str_replace("", "", "", $count) );
23 var_dump( str_replace("q", "q", "q", $count) );
26 var_dump( str_replace("long string here", "", "", $count) );
31 var_dump( str_replace($fp_copy, $fp_copy, $fp_copy, $fp_copy) );
38 *** Testing str_replace() on basic operations ***
H A Dstr_replace_error.phpt2 Test str_replace() function error conditions
8 Prototype: mixed str_replace(mixed $search, mixed $replace,
15 echo "\n*** Testing str_replace error conditions ***";
17 var_dump( str_replace() );
18 var_dump( str_replace("") );
19 var_dump( str_replace(NULL) );
20 var_dump( str_replace(1, 2) );
21 var_dump( str_replace(1,2,3,$var,5) );
26 *** Testing str_replace error conditions ***
27 Warning: str_replace() expects at least 3 parameters, 0 given in %sstr_replace_error.php on line 12
[all …]
H A Dstr_replace_variation1.phpt2 Test str_replace() function - test search values
8 Prototype: mixed str_replace(mixed $search, mixed $replace,
15 echo "\n*** Testing str_replace() with various search values ***";
24 var_dump( str_replace($value, "FOUND", $search_arr, $count) );
32 *** Testing str_replace() with various search values ***
H A Dstr_replace_variation2.phpt2 Test str_replace() function
8 Prototype: mixed str_replace(mixed $search, mixed $replace,
14 echo "\n*** Testing str_replace() with various subjects ***";
62 var_dump( str_replace($search_str[$i], "FOUND", $subject, $count) );
69 *** Testing str_replace() with various subjects ***
H A Dbug39621.phpt2 Bug #39621 (str_replace() is not binary safe on strings with equal length)
10 $result = str_replace ( $search, $replace, $subject );
26 $result = str_replace ( $search, $replace, $subject );
H A Dbug68710.phpt17 $z = str_replace("aaa", "123", $z);
18 $z = str_replace("bbb", "123", $z);
H A Dbug24281.phpt2 Bug #24281 (str_replace count not returned if variable wasn't initialized)
10 $newstring = str_replace("had", "foo", $string, $count);
13 $newstring = str_replace("had", "foo", $string, $count);
H A Dbug25671.phpt13 echo serialize(str_replace("string", "strung", $arr)) . "\n";
14 echo serialize(str_replace("string", "strung", $arr)) . "\n";
15 echo serialize(str_replace(" ", "", $arr)) . "\n";
16 echo serialize(str_replace(" ", "", $arr)) . "\n";
/PHP-5.5/ext/standard/tests/serialize/
H A Dbug45706.phpt12 $s = str_replace("Foo", "Bar", $s);
H A Dbug68594.phpt16 $z = str_replace("bbb", "aaa", $z);
H A Dserialization_objects_011.phpt59 $serPrintable = str_replace("\0", '\0', $ser);
/PHP-5.5/ext/standard/tests/file/
H A Dtouch_variation6-win32.phpt25 $unixifiedDirOrFile = '/'.substr(str_replace('\\','/',$cwd).'/'.$workDir.'/'.$subDirOrFile, 3);
H A Dunlink_variation9-win32.phpt26 $unixifiedFile = '/'.substr(str_replace('\\','/',$cwd).'/'.$workDir.'/'.$tmpFile, 3);
H A Drename_variation11-win32.phpt31 $unixifiedDir = '/'.substr(str_replace('\\','/',$absSubDir),3);
H A Drmdir_variation3-win32.phpt25 $unixifiedDir = '/'.substr(str_replace('\\','/',$cwd).'/'.$workDir.'/'.$subDir, 3);
H A Dstream_copy_to_stream.phpt29 var_dump(str_replace("\r\n","\n", file_get_contents($new_file)));
45 var_dump(str_replace("\r\n","\n", file_get_contents($new_file)));
60 var_dump(str_replace("\r\n","\n", file_get_contents($new_file)));
75 var_dump(str_replace("\r\n","\n", file_get_contents($new_file)));
91 var_dump(str_replace("\r\n","\n", file_get_contents($new_file)));
106 var_dump(str_replace("\r\n","\n", file_get_contents($new_file)));

Completed in 64 milliseconds

12345