3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = 'address 1'; $last_word = array_pop(explode(' ', $string)); echo $last_word; ?>
based on aE5hI
Output for 7.0.0 - 7.2.0
Notice: Only variables should be passed by reference in /in/eLZD4 on line 4 1
Output for 5.3.19 - 5.6.28
Strict Standards: Only variables should be passed by reference in /in/eLZD4 on line 4 1