3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if(preg_match($url_line, '/^\/([-A-Za-z0-9]+)\.html/', $matches));
Output for 5.5.0 - 7.1.0
Notice: Undefined variable: url_line in /in/np3u4 on line 2 Warning: preg_match(): Empty regular expression in /in/np3u4 on line 2
Output for 5.2.3 - 5.4.45
Warning: preg_match(): Empty regular expression in /in/np3u4 on line 2
Output for 4.4.3 - 5.2.2
<br /> <b>Warning</b>: preg_match() [<a href='function.preg-match'>function.preg-match</a>]: Empty regular expression in <b>/in/np3u4</b> on line <b>2</b><br />
Output for 4.3.11 - 4.4.2
<br /> <b>Warning</b>: preg_match(): Empty regular expression in <b>/in/np3u4</b> on line <b>2</b><br />
Output for 4.3.0 - 4.3.10
<br /> <b>Warning</b>: Empty regular expression in <b>/in/np3u4</b> on line <b>2</b><br />