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!";

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.1.130.0000.00717.25
8.1.120.0000.00817.36
8.1.110.0000.00717.36
8.1.100.0040.00417.36
8.1.90.0040.00417.48
8.1.80.0060.00317.48
8.1.70.0020.00517.41
8.1.60.0030.00517.55
8.1.50.0040.00417.50
8.1.40.0040.00417.43
8.1.30.0030.00617.58
8.1.20.0040.00417.57
8.1.10.0080.00017.57
8.1.00.0050.00517.43
8.0.260.0040.00416.95
8.0.250.0050.00216.95
8.0.240.0000.00716.95
8.0.230.0040.00416.95
8.0.220.0000.00716.95
8.0.210.0030.00316.95
8.0.200.0000.00716.95
8.0.190.0000.00716.95
8.0.180.0000.00816.95
8.0.170.0040.00416.95
8.0.160.0030.00316.95
8.0.150.0030.00316.95
8.0.140.0050.00216.95
8.0.130.0000.00716.95
8.0.120.0040.00416.95
8.0.110.0000.00716.95
8.0.100.0040.00416.95
8.0.90.0030.00616.95
8.0.80.0040.00416.95
8.0.70.0030.00516.95
8.0.60.0030.00616.95
8.0.50.0000.00716.95
8.0.30.0030.00316.95
8.0.20.0070.00016.95
8.0.10.0000.00716.95

preferences:
32.15 ms | 400 KiB | 5 Q