3v4l.org

run code in 300+ PHP versions simultaneously
<?php $padding = 6; $letters = range('A', 'Z'); $i = 25; var_export(array_slice( $letters, $i - min($i, $padding), $padding + 1 + min($i, $padding) ));
Output for git.master, git.master_jit, rfc.property-hooks
array ( 0 => 'T', 1 => 'U', 2 => 'V', 3 => 'W', 4 => 'X', 5 => 'Y', 6 => 'Z', )

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:
45.83 ms | 401 KiB | 8 Q