3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cars=array(array("bmw",20,10,20),array("benz",30,10,0),array("gator",20,40,9),array("ferrari",15,60,18)); for ($row = 0; $row < 4; $row++) { for ($col = 0; $col < 4; $col++) { echo $cars[$row][$col]; } } echo "\n"; $d=mktime(10,50,25,08,12,2020); echo "you are in". date("d/m/y h:i:sa",$d);

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)
5.6.280.0000.07720.77
5.6.250.0130.07320.59
5.6.240.0130.07720.57
5.6.230.0070.05720.60
5.6.220.0030.07320.49
5.6.210.0100.08020.46
5.6.200.0100.08721.04
5.6.190.0030.06321.05
5.6.180.0070.08020.98
5.6.170.0070.07321.09
5.6.160.0070.06720.95
5.6.150.0000.09021.07
5.6.140.0230.07021.04
5.6.130.0100.08720.99
5.6.120.0100.08321.07
5.6.110.0130.07721.12
5.6.100.0130.07321.01
5.6.90.0030.05020.91
5.6.80.0030.04320.32
5.6.70.0100.07720.31
5.6.60.0100.04720.40
5.6.50.0200.05020.45
5.6.40.0130.07720.30
5.6.30.0130.06320.39
5.6.20.0200.06720.48
5.6.10.0000.04720.52
5.6.00.0070.05020.36
5.5.380.0030.07020.42
5.5.370.0070.08320.54
5.5.360.0030.08320.43
5.5.350.0070.04020.49
5.5.340.0130.06020.93
5.5.330.0070.04320.80
5.5.320.0170.05720.91
5.5.310.0070.07720.80
5.5.300.0070.08720.77
5.5.290.0070.08720.64
5.5.280.0070.06020.82
5.5.270.0100.06720.81
5.5.260.0100.07720.90
5.5.250.0000.07720.57
5.5.240.0070.08020.18
5.5.230.0130.07720.13
5.5.220.0100.05720.20
5.5.210.0070.07720.14
5.5.200.0130.07020.13
5.5.190.0100.06020.18
5.5.180.0030.09020.18
5.5.160.0100.07720.26
5.5.150.0200.03020.11
5.5.140.0030.04020.07
5.5.130.0100.04020.27
5.5.120.0070.03719.98
5.5.110.0130.03720.22
5.5.100.0030.04320.04
5.5.90.0000.04320.09
5.5.80.0070.03320.06
5.5.70.0100.03320.05
5.5.60.0000.06020.13
5.5.50.0100.03319.95
5.5.40.0100.03320.04
5.5.30.0070.06020.10
5.5.20.0030.04020.04
5.5.10.0030.04019.96
5.5.00.0070.08020.03
5.4.450.0070.07319.43
5.4.440.0100.08019.41
5.4.430.0070.08019.29
5.4.420.0100.07019.44
5.4.410.0070.06319.25
5.4.400.0030.07719.03
5.4.390.0130.07019.07
5.4.380.0030.07019.09
5.4.370.0030.07319.00
5.4.360.0170.07018.84
5.4.350.0030.08018.81
5.4.340.0070.08019.13
5.4.320.0100.06719.12
5.4.310.0130.07719.23
5.4.300.0070.07018.81
5.4.290.0070.04019.02
5.4.280.0170.03319.02
5.4.270.0070.04018.81
5.4.260.0070.03718.97
5.4.250.0000.05018.94
5.4.240.0100.03019.11
5.4.230.0000.03318.78
5.4.220.0070.03319.02
5.4.210.0070.06019.07
5.4.200.0030.03719.06
5.4.190.0070.06019.11
5.4.180.0030.03019.02
5.4.170.0000.04018.89
5.4.160.0070.05018.92
5.4.150.0000.04019.10
5.4.140.0070.03316.12
5.4.130.0030.04716.11
5.4.120.0100.05016.31
5.4.110.0030.05316.32
5.4.100.0100.05716.36
5.4.90.0030.03716.39
5.4.80.0000.03716.47
5.4.70.0130.03316.20
5.4.60.0100.03016.28
5.4.50.0000.03716.33
5.4.40.0070.03016.32
5.4.30.0070.03716.27
5.4.20.0070.02716.19
5.4.10.0030.04016.40
5.4.00.0130.03715.73
5.3.290.0030.07714.61
5.3.280.0000.03714.45
5.3.270.0100.06014.58
5.3.260.0070.06314.59
5.3.250.0030.03314.61
5.3.240.0030.04714.61
5.3.230.0170.02314.56
5.3.220.0070.06314.39
5.3.210.0000.03714.57
5.3.200.0130.06714.57
5.3.190.0070.04314.40
5.3.180.0100.04314.53
5.3.170.0170.02314.57
5.3.160.0000.04014.39
5.3.150.0030.04014.40
5.3.140.0030.03714.39
5.3.130.0030.03714.37
5.3.120.0030.03714.50
5.3.110.0000.03714.54
5.3.100.0000.04313.89
5.3.90.0030.04013.88
5.3.80.0000.07313.87
5.3.70.0030.04013.98
5.3.60.0170.02313.92
5.3.50.0000.03313.80
5.3.40.0030.03713.80
5.3.30.0070.03013.85
5.3.20.0030.04013.68
5.3.10.0030.03313.65
5.3.00.0030.04313.63
5.2.170.0000.02711.36
5.2.160.0030.03011.36
5.2.150.0100.02011.36
5.2.140.0100.01711.36
5.2.130.0000.02711.36
5.2.120.0100.02011.36
5.2.110.0000.03311.36
5.2.100.0070.02711.36
5.2.90.0030.02711.36
5.2.80.0100.02311.36
5.2.70.0000.03011.36
5.2.60.0070.05711.36
5.2.50.0030.02311.36
5.2.40.0000.03311.36
5.2.30.0000.03311.36
5.2.20.0000.04011.36
5.2.10.0070.06011.36
5.2.00.0030.03311.36
5.1.60.0070.05011.36
5.1.50.0100.04711.36
5.1.40.0070.05311.36
5.1.30.0000.06011.36
5.1.20.0130.03711.36
5.1.10.0030.05711.36
5.1.00.0000.04311.36
5.0.50.0000.03011.36
5.0.40.0000.03011.36
5.0.30.0000.06711.36
5.0.20.0070.04011.36
5.0.10.0070.02311.36
5.0.00.0000.04011.36
4.4.90.0000.01711.36
4.4.80.0030.01311.36
4.4.70.0070.01011.36
4.4.60.0030.01311.36
4.4.50.0000.01311.36
4.4.40.0070.04311.36
4.4.30.0000.02711.36
4.4.20.0030.02711.36
4.4.10.0070.03311.36
4.4.00.0070.04711.36
4.3.110.0000.03711.36
4.3.100.0030.01711.36
4.3.90.0070.03011.36
4.3.80.0000.05311.36
4.3.70.0000.03311.36
4.3.60.0030.03311.36
4.3.50.0000.02011.36
4.3.40.0000.05711.36
4.3.30.0000.03311.36
4.3.20.0000.02711.36
4.3.10.0030.03711.36
4.3.00.0000.01711.36

preferences:
141.35 ms | 1394 KiB | 7 Q