3v4l.org

run code in 300+ PHP versions simultaneously
<?php $StringToReplace = array("\"","'"); $text = "Plagiarism is the \"wrongful appropriation\" and \"stealing and publication\" of another author's \"language\""; echo "<pre>$text</pre>"; foreach($StringToReplace as $String){ $text = str_replace($String,"",$text); } echo "<hr>"; echo "<pre>$text</pre>";

preferences:
71.59 ms | 402 KiB | 5 Q