3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $text = "com.kamatte1\ncom.kamatte2"; $arr = explode($text, "\n"); var_dump($arr);
based on POmXS
Output for 4.3.0 - 7.2.6
array(1) { [0]=> string(1) " " }