3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $image_url = "https://img.traum-ferienwohnungen.de/map/582/polen.png"; $image_name = array_pop(explode("/", $image_url)); var_dump($image_name);
based on UZaMX
Output for 7.0.0 - 7.3.0rc3
Notice: Only variables should be passed by reference in /in/TMbDA on line 4 string(9) "polen.png"
Output for hhvm-3.15.4
string(9) "polen.png"
Output for 5.6.0 - 5.6.30
Strict Standards: Only variables should be passed by reference in /in/TMbDA on line 4 string(9) "polen.png"