3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<span class="notranslate" onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left"><?php $m = "<p>Foo<p>Bar<p>"; echo preg_replace('/<p>(.*)/i', '$1', $m);</span> ? <Php $ m = "Foo <p> <p> Bar <p>" echo preg_replace ('/ <p> (*) / i.', '$ 1', $ m);</span>
Output for 5.3.0 - 5.4.23
Parse error: syntax error, unexpected '<' in /in/26hkN on line 1
Process exited with code 255.