3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $lib_path = 'core/modules/statistics/statistics.js'; $re = '/<script src=".*?' . preg_quote($lib_path, '/.') . '.*?">/is'; $content = 'Some content <script src="http://example.com/core/modules/statistics/statistics.js"></script> Etc.'; echo preg_quote($lib_path); var_dump(preg_match($re, $content));
Output for 4.3.0 - 7.1.0
core/modules/statistics/statistics\.jsint(1)