3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = str_split('This is a string!'); array_map(function() { var_Dump(func_get_args()); }, $string);
Output for git.master, git.master_jit, rfc.property-hooks
array(1) { [0]=> string(1) "T" } array(1) { [0]=> string(1) "h" } array(1) { [0]=> string(1) "i" } array(1) { [0]=> string(1) "s" } array(1) { [0]=> string(1) " " } array(1) { [0]=> string(1) "i" } array(1) { [0]=> string(1) "s" } array(1) { [0]=> string(1) " " } array(1) { [0]=> string(1) "a" } array(1) { [0]=> string(1) " " } array(1) { [0]=> string(1) "s" } array(1) { [0]=> string(1) "t" } array(1) { [0]=> string(1) "r" } array(1) { [0]=> string(1) "i" } array(1) { [0]=> string(1) "n" } array(1) { [0]=> string(1) "g" } array(1) { [0]=> string(1) "!" }

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