codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
<?php $replacements = array('A', 'one', 'some'); $the=array('the','the','the'); $str = "The quick brown fox jumps over the lazy dog and runs to the forest."; $str=str_ireplace($the, $replacements, $str); echo $str; ?>
Private
[
?
]
Run code
Submit