3v4l.org

run code in 300+ PHP versions simultaneously
<?hh function foo(int &$foo) { $foo = 346; } $y = vec[1,2,3]; foo($y[2]); var_dump($y);

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.4.10.0120.00017.47
8.3.140.0040.00417.15
8.3.130.0030.00618.49
8.3.120.0060.00318.73
8.3.110.0090.00320.94
8.3.100.0030.00716.63
8.3.90.0070.00726.77
8.3.80.0030.00619.36
8.3.70.0070.00716.58
8.3.60.0210.00018.43
8.3.50.0090.01116.55
8.3.40.0130.00318.70
8.3.30.0070.00718.46
8.3.20.0090.00021.97
8.3.10.0030.00620.92
8.3.00.0000.00820.83
8.2.260.0040.00416.45
8.2.250.0000.00818.54
8.2.240.0130.00619.07
8.2.230.0030.00522.58
8.2.220.0060.00337.54
8.2.210.0140.00026.77
8.2.200.0060.00618.88
8.2.190.0090.01216.58
8.2.180.0140.00718.04
8.2.170.0090.00622.96
8.2.160.0100.00720.39
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0080.00826.16
8.2.120.0040.00419.77
8.2.110.0060.00321.95
8.2.100.0040.00717.66
8.2.90.0000.00819.07
8.2.80.0000.00719.23
8.2.70.0030.00617.50
8.2.60.0050.00218.04
8.2.50.0030.00618.10
8.2.40.0000.00822.38
8.2.30.0050.00319.11
8.2.20.0030.00617.98
8.2.10.0040.00417.83
8.2.00.0040.00418.02
8.1.310.0070.01018.21
8.1.300.0030.00619.54
8.1.290.0040.00430.84
8.1.280.0090.00625.92
8.1.270.0000.00724.02
8.1.260.0080.00026.35
8.1.250.0090.00028.09
8.1.240.0030.00623.89
8.1.230.0070.00317.58
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0060.00317.10
8.1.190.0080.00016.88
8.1.180.0000.00819.19
8.1.170.0080.00018.34
8.1.160.0040.00418.93
8.1.150.0030.00318.75
8.1.140.0040.00419.43
8.1.130.0000.00718.96
8.1.120.0030.00317.30
8.1.110.0040.00417.22
8.1.100.0100.00017.16
8.1.90.0040.00417.30
8.1.80.0000.00717.36
8.1.70.0000.00717.22
8.1.60.0050.00317.40
8.1.50.0000.00817.29
8.1.40.0080.00017.20
8.1.30.0000.00817.34
8.1.20.0000.00817.49
8.1.10.0040.00417.36
8.1.00.0000.00717.39
8.0.300.0000.00718.77
8.0.290.0000.00716.58
8.0.280.0040.00418.41
8.0.270.0030.00317.09
8.0.260.0030.00518.41
8.0.250.0000.00716.72
8.0.240.0000.00816.85
8.0.230.0000.00716.90
8.0.220.0030.00316.79
8.0.210.0000.00716.74
8.0.200.0000.00616.85
8.0.190.0030.00616.72
8.0.180.0000.00716.84
8.0.170.0000.00816.73
8.0.160.0000.00716.74
8.0.150.0030.00316.69
8.0.140.0040.00416.72
8.0.130.0070.00013.40
8.0.120.0030.00616.71
8.0.110.0000.00716.85
8.0.100.0070.00016.60
8.0.90.0000.00816.75
8.0.80.0060.00916.70
8.0.70.0030.00516.79
8.0.60.0000.00716.63
8.0.50.0040.00416.75
8.0.30.0120.00317.01
8.0.20.0100.01017.40
8.0.10.0000.00716.72
8.0.00.0080.00816.60
7.4.330.0040.00015.55
7.4.320.0000.00616.35
7.4.300.0070.00016.53
7.4.290.0070.00016.38
7.4.280.0070.00016.42
7.4.270.0030.00316.28
7.4.260.0000.00716.30
7.4.250.0000.00716.43
7.4.240.0000.00716.41
7.4.230.0070.00016.46
7.4.220.0070.00016.45
7.4.210.0060.00916.57
7.4.200.0030.00316.41
7.4.160.0080.00816.22
7.4.150.0110.00617.40
7.4.140.0070.01017.86
7.4.130.0150.00416.34
7.4.120.0100.01016.31
7.4.110.0060.01016.34
7.4.100.0100.00816.44
7.4.90.0100.00716.42
7.4.80.0130.00919.39
7.4.70.0070.01016.45
7.4.60.0150.00316.34
7.4.50.0060.01016.41
7.4.40.0030.01316.42
7.4.30.0150.00316.42
7.3.330.0060.00013.11
7.3.320.0000.00513.10
7.3.310.0070.00016.18
7.3.300.0030.00316.15
7.3.290.0070.00616.15
7.3.280.0090.00816.13
7.3.270.0130.00417.40
7.3.260.0090.00916.29
7.3.250.0120.01216.24
7.3.240.0110.00616.44
7.3.230.0100.01016.43
7.3.210.0170.00616.42
7.3.200.0030.01616.16
7.3.190.0090.00616.30
7.3.180.0070.01416.30
7.3.170.0000.01516.30
7.3.160.0090.00616.47
7.2.330.0200.00016.28
7.2.320.0100.01116.48
7.2.310.0060.01016.18
7.2.300.0130.00316.49
7.2.290.0100.00716.50
7.1.80.0030.00917.72
7.1.70.3620.00715.98
7.1.60.2810.01034.02
7.1.50.2830.01633.44
7.1.40.3030.00433.28
7.1.30.4100.01233.53
7.1.20.2720.01433.49
7.1.10.2630.01315.31
7.1.00.2030.00915.46
7.0.200.5260.00715.70
7.0.190.3750.00815.47
7.0.180.2900.00715.16
7.0.170.3860.00915.11
7.0.160.3570.00715.11
7.0.150.2690.00815.23
7.0.140.2650.00815.06
7.0.130.2280.01115.25
7.0.120.1960.00615.30
7.0.110.2140.01115.13
7.0.100.2170.00615.22
7.0.90.2350.00615.14
7.0.80.2210.00415.17
7.0.70.1940.00615.18
7.0.60.2250.00615.04
7.0.50.2110.01315.23
7.0.40.2110.01115.32
7.0.30.1640.00815.37
7.0.20.2090.00615.30
7.0.10.2150.00515.28
7.0.00.1900.00815.33

preferences:
28 ms | 403 KiB | 5 Q