3v4l.org

run code in 300+ PHP versions simultaneously
<?php $post_search = array ( 2019 => array ( 05 => array ( 12 => array ( 0 => 'default.md' ), ), 12 => array ( 22 => array ( 0 => 'default.md' ), ), ), 2020 => array ( 05 => array ( 19 => array ( 0 => 'default.md' ), ), ) ); foreach ($post_search as $year => $months) { foreach ($months as $month => $days) { foreach ($days as $day => $files) { foreach ($files as $file) { echo "File $file:\nYear: $year\nMonth: $month\nDay: $day\n"; } } } }
Output for git.master, git.master_jit, rfc.property-hooks
File default.md: Year: 2019 Month: 5 Day: 12 File default.md: Year: 2019 Month: 12 Day: 22 File default.md: Year: 2020 Month: 5 Day: 19

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:
80.81 ms | 1524 KiB | 4 Q