3v4l.org

run code in 300+ PHP versions simultaneously
<?php $kategorie = [ [ ['SAM_OPO', 'opony', 100], ['SAM_OLE', 'olej', 10], ['SAM_ŚWI', 'świece', 4], ], [ ['VAN_OPO', 'opony', 120], ['VAN_OLE', 'olej', 12], ['VAN_ŚWI', 'świece', 5], ], [ ['CIE_OPO', 'opony', 150], ['CIE_OLE', 'olej', 150], ['CIE_ŚWI', 'świece', 6], ], ]; foreach ($kategorie as $iteration => $array) { echo "Warstwa $iteration". PHP_EOL; foreach ($array as $category) { echo sprintf(" | %s | %s | %s", $category[0], $category[1], $category[2]) . PHP_EOL; } }
Output for git.master, git.master_jit, rfc.property-hooks
Warstwa 0 | SAM_OPO | opony | 100 | SAM_OLE | olej | 10 | SAM_ŚWI | świece | 4 Warstwa 1 | VAN_OPO | opony | 120 | VAN_OLE | olej | 12 | VAN_ŚWI | świece | 5 Warstwa 2 | CIE_OPO | opony | 150 | CIE_OLE | olej | 150 | CIE_ŚWI | świece | 6

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