3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $dbl = '192.168.20.52, 203.116.17.41'; $s = '203.116.17.41'; $ex = explode(', ', $dbl); var_dump(end($ex));
based on 3VRn8
Output for 4.3.0 - 7.1.0
string(13) "203.116.17.41"