3v4l.org

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