3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array('THIS', 'test', 'hello', 'A', 'is'); $string = 'helloTHISisAblindtest'; foreach ($arr as $a) { var_dump(explode($a, $string)); }
Output for git.master, git.master_jit, rfc.property-hooks
array(2) { [0]=> string(5) "hello" [1]=> string(12) "isAblindtest" } array(2) { [0]=> string(17) "helloTHISisAblind" [1]=> string(0) "" } array(2) { [0]=> string(0) "" [1]=> string(16) "THISisAblindtest" } array(2) { [0]=> string(11) "helloTHISis" [1]=> string(9) "blindtest" } array(2) { [0]=> string(9) "helloTHIS" [1]=> string(10) "Ablindtest" }

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:
37.7 ms | 402 KiB | 8 Q