3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $s = "http://st.mngbcn.com/rcs/pics/static/T7/fotos/S1/73640031_OW.jpg"; $t = preg_match('/[0-9]*/i', '73640031_OW.jpg', $result); var_dump(basename($result)); ?>
Output for 4.3.0 - 7.1.0
Warning: basename() expects parameter 1 to be string, array given in /in/bp6rS on line 6 NULL