3v4l.org

run code in 300+ PHP versions simultaneously
<?php // List of places to eat $places = array("Italian restaurant", "Mexican restaurant", "Chinese restaurant", "Japanese restaurant", "Indian restaurant"); // Pick a random place $place = $places[array_rand($places)]; // Print the chosen place echo "Let's go to the $place!";
Output for git.master
Let's go to the Mexican restaurant!
Output for git.master_jit
Let's go to the Indian restaurant!

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