3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ ["Line 1", "Line 2", "Line 3"], ["Line 4", "Line 5", "Line 6"], ["Line 7", "Line 8", "Line 9"], ]; var_export( array_map( fn($row) => vsprintf('%s some code %s some code %s some code', $row), $array ) );
Output for git.master, git.master_jit, rfc.property-hooks
array ( 0 => 'Line 1 some code Line 2 some code Line 3 some code', 1 => 'Line 4 some code Line 5 some code Line 6 some code', 2 => 'Line 7 some code Line 8 some code Line 9 some code', )

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:
129.93 ms | 405 KiB | 5 Q