3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php$a = "<tt>some</tt><b>html</b>"; preg_match("/<\w?>(\w*?)<\/\w?>/",$a,$b); print_r($b); ?>
Output for 5.4.0 - 5.4.35
Parse error: syntax error, unexpected '$a' (T_VARIABLE) in /in/e5qEe on line 1
Process exited with code 255.