3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $leurl = '/watchlatercast/phpinfo.php?a:add'; echo strstr($leurl, 'phpinfo.php', true); ?>
Output for 5.3.0 - 7.1.0
/watchlatercast/
Output for 4.3.0 - 5.2.17
Warning: Wrong parameter count for strstr() in /in/E91EB on line 4