run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(split('',"xxxxxdddd")); var_dump(explode('',"yyyyydddd"));
based on PoqtK
Output for 7.0.0 - 7.2.6
Fatal error: Uncaught Error: Call to undefined function split() in /in/mWO5N:2 Stack trace: #0 {main} thrown in /in/mWO5N on line 2
Process exited with code 255.
Output for 5.3.21 - 5.6.28
Deprecated: Function split() is deprecated in /in/mWO5N on line 2 Warning: split(): REG_EMPTY in /in/mWO5N on line 2 bool(false) Warning: explode(): Empty delimiter in /in/mWO5N on line 3 bool(false)