3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $domainPrice = 500; $lastColumn = 'Att betala 500,00SEK'; $test = preg_match('/(Att betala\s+)([0-9]+)(,00SEK)/gi', $lastColumn, $matches); var_dump($matches);
based on l57Ss
Output for 5.2.0 - 7.1.0
Warning: preg_match(): Unknown modifier 'g' in /in/Pb5mn on line 6 NULL
Output for 4.3.11 - 5.1.6
Warning: preg_match(): Unknown modifier 'g' in /in/Pb5mn on line 6 array(0) { }
Output for 4.3.0 - 4.3.10
Warning: Unknown modifier 'g' in /in/Pb5mn on line 6 array(0) { }