3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $lib_path = 'core/modules/statistics/statistics.js'; $re = '/<script.*?src=".*?(' . $lib_path . ').*?">/is'; $content = '<script src="http://example.com/core/modules/statistics/statistics.js"></script>'; var_dump(preg_match($re, $content));
Output for 4.3.11 - 7.1.0
Warning: preg_match(): Unknown modifier 'o' in /in/Hs4Im on line 7 bool(false)
Output for 4.3.0 - 4.3.10
Warning: Unknown modifier 'o' in /in/Hs4Im on line 7 bool(false)