3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pattern = array('[b]', '[/b]', '[i]', '[/i]'); $repl = array('<b>', '</b>', '<i>', '</i>'); $texte='In a [b]recent article[/b], former TRG CEO Jeff V. Merkey had offered to pay [i]50K USD for a BSD-licensed[/i] Linux. [quote]Groklaw did a followup on his offer[/quote], to which [#red]Jeff responded by notifying the FBI of Groklaws hate crimes violation[/#]. Merkey doesnt exactly have a great record, either, which is made even more apparent by his recent threats to file suit against Merkey.net for slander and [i]trademark infringement[/i], amongst others. In addition, he has also reported [b]Merkey.net[/b] to the FBIs hate crime department. What could Merkey.net do to get Jeff V. Merkey off their backs ?'; $texte = str_replace( $pattern, $repl, $texte);

preferences:
41.59 ms | 402 KiB | 5 Q