3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $s = "http://fr.topman.com/wcsstore/TopManFR/images/catalog/66B01XMUL_thumb.jpg"; $a = explode("/",$s); $r = end($a); var_dump($r); //var_dump(stristr($s,"/",false)); ?>
Output for 4.3.0 - 7.1.0
string(19) "66B01XMUL_thumb.jpg"