3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_r(preg_split('/".*?"(*SKIP)(*FAIL)|(\(|\))| /', '+test +word any -sampe (+toto +titi "generic test") -column:"test this" (+data id:1234)',-1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY));
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => +test [1] => +word [2] => any [3] => -sampe [4] => ( [5] => +toto [6] => +titi [7] => "generic test" [8] => ) [9] => -column:"test this" [10] => ( [11] => +data [12] => id:1234 [13] => ) )

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:
50.39 ms | 401 KiB | 8 Q