fork download
  1. <?php
  2. $str1 = "one";
  3. $str2 = 'two';
  4.  
  5. echo 'My name is ' . $str1 . str_replace('one', 'three', $str1); //What word, replace what, var
  6. echo 'Hello, my name is ' . $str1 . ' ' . $str2 . ' and I like Fourty-five!';
  7. ?>
Success #stdin #stdout 0.02s 24400KB
stdin
Standard input is empty
stdout
My name is onethreeHello, my name is one two and I like Fourty-five!