3v4l.org

run code in 300+ PHP versions simultaneously
<?php $products = [1, 2, 3, 4, 5]; $vendors = ["Amazon", "Newegg", "##php"]; foreach ($products as $productID) { foreach ($vendors as $vendor) { printf("Combination: %s at %s", $productID, $vendor); } }
Output for git.master, git.master_jit, rfc.property-hooks
Combination: 1 at AmazonCombination: 1 at NeweggCombination: 1 at ##phpCombination: 2 at AmazonCombination: 2 at NeweggCombination: 2 at ##phpCombination: 3 at AmazonCombination: 3 at NeweggCombination: 3 at ##phpCombination: 4 at AmazonCombination: 4 at NeweggCombination: 4 at ##phpCombination: 5 at AmazonCombination: 5 at NeweggCombination: 5 at ##php

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