3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php define('BR', "\n"); define('DS', DIRECTORY_SEPARATOR); $str = 'template/base/files/js\jquery1.11.min.js'; $str = str_replace(array('\\', '/'), DS, $str); echo $str . BR; $pos = strpos($str, DS); echo $pos;
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
template/base/files/js/jquery1.11.min.js 8