3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a1 = ['aaa', 'ccc', 'eee', 'ggg']; $a2 = ['bbb', 'ddd', 'fff', 'hhh']; $a3 = [1662, 1663, 1664, 1665]; var_export( array_map( fn($title, $Info, $id) => get_defined_vars(), $a1, $a2, $a3 ) );
Output for git.master, git.master_jit, rfc.property-hooks
array ( 0 => array ( 'title' => 'aaa', 'Info' => 'bbb', 'id' => 1662, ), 1 => array ( 'title' => 'ccc', 'Info' => 'ddd', 'id' => 1663, ), 2 => array ( 'title' => 'eee', 'Info' => 'fff', 'id' => 1664, ), 3 => array ( 'title' => 'ggg', 'Info' => 'hhh', 'id' => 1665, ), )

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:
33.69 ms | 406 KiB | 5 Q