3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo preg_replace_callback('/([a-z])/', function($a) { var_dump($a); return strtoupper($a[1]);}, 'rob_tr_yuui');
Output for git.master, git.master_jit, rfc.property-hooks
array(2) { [0]=> string(1) "r" [1]=> string(1) "r" } array(2) { [0]=> string(1) "o" [1]=> string(1) "o" } array(2) { [0]=> string(1) "b" [1]=> string(1) "b" } array(2) { [0]=> string(1) "t" [1]=> string(1) "t" } array(2) { [0]=> string(1) "r" [1]=> string(1) "r" } array(2) { [0]=> string(1) "y" [1]=> string(1) "y" } array(2) { [0]=> string(1) "u" [1]=> string(1) "u" } array(2) { [0]=> string(1) "u" [1]=> string(1) "u" } array(2) { [0]=> string(1) "i" [1]=> string(1) "i" } ROB_TR_YUUI

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