3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $hoge = 'hoge/fuga/pepe'; $result = split('/', $hoge); var_dump($result);
Output for 7.0.0 - 7.3.0beta1
Fatal error: Uncaught Error: Call to undefined function split() in /in/9XTVO:4 Stack trace: #0 {main} thrown in /in/9XTVO on line 4
Process exited with code 255.
Output for hhvm-3.18.5 - 3.22.0
array(3) { [0]=> string(4) "hoge" [1]=> string(4) "fuga" [2]=> string(4) "pepe" }
Output for 5.6.0 - 5.6.30
Deprecated: Function split() is deprecated in /in/9XTVO on line 4 array(3) { [0]=> string(4) "hoge" [1]=> string(4) "fuga" [2]=> string(4) "pepe" }