3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $headArr = split(",","asdadas,asdasdasd,sadasdasd,asdasd"); var_dump($headArr);
based on 1T6Y3
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function split() in /in/STbhB:3 Stack trace: #0 {main} thrown in /in/STbhB on line 3
Process exited with code 255.
Output for 5.3.19 - 5.6.28
Deprecated: Function split() is deprecated in /in/STbhB on line 3 array(4) { [0]=> string(7) "asdadas" [1]=> string(9) "asdasdasd" [2]=> string(9) "sadasdasd" [3]=> string(6) "asdasd" }