3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = "https://www.facebook.com/OutfitFashionUK/photos/a.257299044407630.1073741836.245894895548045/715611908576339/?type=3&theater"; print end(explode($string, "/"));
based on mHCBS
Output for 7.0.0 - 7.2.6
Notice: Only variables should be passed by reference in /in/qp8tZ on line 5 /
Output for 5.3.20 - 5.6.28
Strict Standards: Only variables should be passed by reference in /in/qp8tZ on line 5 /