3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $s = "f,"; $r = explode(",", $s); var_dump($r);
based on 5r5bJ
Output for 4.3.0 - 7.1.0
array(2) { [0]=> string(1) "f" [1]=> string(0) "" }