3v4l.org

run code in 300+ PHP versions simultaneously
<?php $content = "11:12:12:test titel 1\n 12:13:13:test titel 2\n 13:14:14:test titel 3"; $arr = preg_split("/(:|\n)/" ,$content); var_dump($arr);
Output for git.master, git.master_jit, rfc.property-hooks
array(14) { [0]=> string(2) "11" [1]=> string(2) "12" [2]=> string(2) "12" [3]=> string(12) "test titel 1" [4]=> string(0) "" [5]=> string(14) " 12" [6]=> string(2) "13" [7]=> string(2) "13" [8]=> string(12) "test titel 2" [9]=> string(0) "" [10]=> string(14) " 13" [11]=> string(2) "14" [12]=> string(2) "14" [13]=> string(12) "test titel 3" }

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
149.24 ms | 402 KiB | 8 Q