3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?hh $str = preg_replace("/'(\\\\'|\\\\{2}|[^'])*'/", '', $string); var_dump($str)
Output for 5.3.0 - 5.4.32
<?hh $str = preg_replace("/'(\\\\'|\\\\{2}|[^'])*'/", '', $string); var_dump($str)