@ 2015-09-08T07:55:25Z <?php
$content = "Preved\nmedved\r\nfuck\roff";
$lines = split("\r\n|\r|\n", $content);
print_r($lines);
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 7.0.0 - 7.0.23 , 7.0.25 - 7.0.33 , 7.1.0 - 7.1.16 , 7.1.19 - 7.1.33 , 7.2.0 - 7.2.25 , 7.3.0 - 7.3.12 , 7.4.0 , 8.1.28 , 8.2.17 - 8.2.18 , 8.3.4 - 8.3.6 Fatal error: Uncaught Error: Call to undefined function split() in /in/ZpZE9:4
Stack trace:
#0 {main}
thrown in /in/ZpZE9 on line 4
Process exited with code 255 . Output for 5.6.32 - 5.6.33 , 7.0.24 , 7.1.17 - 7.1.18 Process exited with code 137 . Output for 5.4.0 - 5.4.45 , 5.5.0 - 5.5.38 , 5.6.0 - 5.6.31 , 5.6.34 - 5.6.40 Deprecated: Function split() is deprecated in /in/ZpZE9 on line 4
Array
(
[0] => Preved
[1] => medved
[2] => fuck
[3] => off
)
preferences:dark mode live preview
186.67 ms | 402 KiB | 245 Q