3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $input =- 'test <span>1234</span><span>12345</span>test<span>5678</span><span>12345</span>test'; print_r(preg_match("/(<span>\d{4}<\/span>)/", $input, $output););
Output for 5.3.0 - 5.4.28
Parse error: syntax error, unexpected ';' in /in/iASLb on line 9
Process exited with code 255.