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 7.1.0
Warning: A non-numeric value encountered in /in/PAmSq on line 5 0
Output for 4.3.0 - 7.0.14
0