3v4l.org

run code in 300+ PHP versions simultaneously
<?php $lib_path = 'core/modules/statistics/statistics.js'; $re = '/(<script src=").*?(core/modules/statistics/statistics.js).*?(">)/is'; $content = 'Some content <script src="http://example.com/core/modules/statistics/statistics.js"></script> Etc.'; var_dump(preg_match($re, $content));

preferences:
78.53 ms | 402 KiB | 5 Q