3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(split(".", " A.B.C."));
Output for 7.0.0 - 7.3.0rc3
Fatal error: Uncaught Error: Call to undefined function split() in /in/uv4mc:3 Stack trace: #0 {main} thrown in /in/uv4mc on line 3
Process exited with code 255.
Output for hhvm-3.15.4 - 3.22.0
array(7) { [0]=> string(1) " " [1]=> string(0) "" [2]=> string(0) "" [3]=> string(0) "" [4]=> string(0) "" [5]=> string(0) "" [6]=> string(0) "" }
Output for 5.6.30
Deprecated: Function split() is deprecated in /in/uv4mc on line 4 array(8) { [0]=> string(0) "" [1]=> string(0) "" [2]=> string(0) "" [3]=> string(0) "" [4]=> string(0) "" [5]=> string(0) "" [6]=> string(0) "" [7]=> string(0) "" }