3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = "Diese Seite wurde bisher 6.971 mal abgerufen."; $matches = array(); preg_match('([^\d]|^)d{1,2}.d{3}([^d]|$)', $str, $matches); print_r($matches);
Output for 4.3.11 - 5.6.28, 7.0.0 - 7.1.0
Warning: preg_match(): Unknown modifier 'd' in /in/a22da on line 5 Array ( )
Output for hhvm-3.10.0 - 3.12.0
Warning: Unknown modifier 'd': [([^\d]|^)d{1,2}.d{3}([^d]|$)] in /in/a22da on line 5 Array ( )
Output for 4.3.0 - 4.3.10
Warning: Unknown modifier 'd' in /in/a22da on line 5 Array ( )