3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = "bar"; $$foo = "whatever"; $$$foo = "wtf"; var_dump($foo, $$foo, $$$foo);

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.3.60.0070.01416.63
8.3.50.0150.00521.08
8.3.40.0110.00418.60
8.3.30.0070.00718.46
8.3.20.0040.00420.15
8.3.10.0040.00423.70
8.3.00.0040.00419.43
8.2.180.0040.01116.63
8.2.170.0090.00922.96
8.2.160.0140.00020.53
8.2.150.0040.00424.18
8.2.140.0090.00924.66
8.2.130.0040.00426.16
8.2.120.0050.00517.63
8.2.110.0070.00319.27
8.2.100.0090.00317.84
8.2.90.0030.00617.75
8.2.80.0030.00617.97
8.2.70.0040.00417.93
8.2.60.0050.00318.04
8.2.50.0110.00018.10
8.2.40.0040.00420.44
8.2.30.0040.00419.98
8.2.20.0000.00817.73
8.2.10.0080.00017.93
8.2.00.0070.00017.98
8.1.280.0160.00625.92
8.1.270.0060.00320.17
8.1.260.0000.00726.35
8.1.250.0060.00328.09
8.1.240.0000.00823.83
8.1.230.0030.00719.07
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0060.00317.35
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0000.00918.59
8.1.160.0090.00022.00
8.1.150.0040.00418.79
8.1.140.0030.00517.39
8.1.130.0000.00717.69
8.1.120.0030.00617.46
8.1.110.0050.00317.45
8.1.100.0040.00417.33
8.1.90.0040.00417.34
8.1.80.0000.00717.39
8.1.70.0050.00317.39
8.1.60.0000.00917.62
8.1.50.0000.00717.39
8.1.40.0000.00817.39
8.1.30.0000.01017.54
8.1.20.0050.00217.70
8.1.10.0000.00717.46
8.1.00.0050.00217.28
8.0.300.0070.00019.60
8.0.290.0000.00816.63
8.0.280.0050.00318.41
8.0.270.0000.00717.24
8.0.260.0040.00417.24
8.0.250.0070.00016.96
8.0.240.0050.00316.84
8.0.230.0040.00416.84
8.0.220.0000.00916.89
8.0.210.0040.00416.87
8.0.200.0070.00316.82
8.0.190.0040.00416.91
8.0.180.0050.00216.92
8.0.170.0050.00316.90
8.0.160.0000.00716.95
8.0.150.0070.00016.92
8.0.140.0030.00316.86
8.0.130.0030.00313.34
8.0.120.0040.00416.86
8.0.110.0000.00716.89
8.0.100.0000.00716.82
8.0.90.0000.00716.79
8.0.80.0040.01216.93
8.0.70.0000.00716.75
8.0.60.0040.00416.82
8.0.50.0050.00316.67
8.0.30.0120.00817.03
8.0.20.0140.00917.40
8.0.10.0030.00516.86
8.0.00.0090.01016.67
7.4.330.0030.00315.12
7.4.320.0030.00616.50
7.4.300.0060.00016.58
7.4.290.0030.00316.57
7.4.280.0060.00316.56
7.4.270.0050.00316.58
7.4.260.0030.00716.58
7.4.250.0030.00616.55
7.4.240.0050.00216.51
7.4.230.0000.00916.66
7.4.220.0150.00416.57
7.4.210.0080.00516.48
7.4.200.0040.00416.66
7.4.160.0070.01016.58
7.4.150.0070.01017.40
7.4.140.0110.01317.86
7.4.130.0060.01516.50
7.4.120.0080.01016.45
7.4.110.0060.01016.49
7.4.100.0070.01016.52
7.4.90.0130.00716.47
7.4.80.0110.01119.39
7.4.70.0150.00816.26
7.4.60.0060.01016.27
7.4.50.0000.00916.19
7.4.40.0070.01016.45
7.4.30.0090.00816.48
7.4.00.0040.01214.76
7.3.330.0050.00013.09
7.3.320.0000.00613.19
7.3.310.0020.00516.11
7.3.300.0030.00316.25
7.3.290.0060.01016.19
7.3.280.0090.00916.24
7.3.270.0110.00617.40
7.3.260.0090.01516.18
7.3.250.0090.01016.40
7.3.240.0100.00616.35
7.3.230.0170.00916.39
7.3.210.0060.00916.38
7.3.200.0000.01616.41
7.3.190.0030.01316.27
7.3.180.0080.00816.28
7.3.170.0110.00516.28
7.3.160.0120.00916.42
7.2.330.0220.00316.53
7.2.320.0090.00916.55
7.2.310.0060.01216.66
7.2.300.0080.00816.54
7.2.290.0100.00716.46
7.2.00.0070.00719.27
7.1.100.0040.00717.69
7.1.70.0030.00516.95
7.1.60.0140.01019.17
7.1.50.0230.01334.48
7.1.00.0130.06722.54
7.0.200.2680.01014.77
7.0.60.0030.04019.95
7.0.50.0070.04717.91
7.0.40.0070.04020.19
7.0.30.0200.04020.30
7.0.20.0230.05320.09
7.0.10.0030.04320.06
7.0.00.0000.09020.16
5.6.280.0030.03721.14
5.6.210.0070.08020.75
5.6.200.0000.04318.21
5.6.190.0070.07720.58
5.6.180.0270.05320.27
5.6.170.0270.08320.38
5.6.160.0000.04320.46
5.6.150.0070.04718.14
5.6.140.0070.08018.12
5.6.130.0070.06718.14
5.6.120.0030.04021.01
5.6.110.0030.08020.96
5.6.100.0100.08021.10
5.6.90.0070.05720.96
5.6.80.0230.05720.50
5.6.70.4300.04320.49
5.5.350.0030.09020.43
5.5.340.0030.04317.95
5.5.330.0100.08720.22
5.5.320.0370.07020.29
5.5.310.0170.04720.20
5.5.300.0030.04317.96
5.5.290.0070.08017.92
5.5.280.0070.06020.97
5.5.270.0100.08020.76
5.5.260.0130.06320.87
5.5.250.0030.07320.65
5.5.240.0100.06720.18
5.4.450.0870.05319.35
5.4.440.0900.05719.57
5.4.430.0830.05719.13
5.4.420.0870.06319.31
5.4.410.0900.05019.34
5.4.400.0770.06019.07
5.4.390.0870.04719.19
5.4.380.0800.06019.08
5.4.370.0700.05318.95
5.4.360.0770.04318.94
5.4.350.0730.05019.06
5.4.340.0670.05719.02
5.4.320.0930.04719.08
5.4.310.0900.04718.77
5.4.300.0830.03719.19
5.4.290.0670.05319.19
5.4.280.0700.05018.94
5.4.270.0700.05019.15
5.4.260.0630.05718.99
5.4.250.0670.05319.12
5.4.240.0800.04019.18
5.4.230.0670.05319.20
5.4.220.0800.05319.02
5.4.210.0670.05319.19
5.4.200.0770.04019.14
5.4.190.0730.04718.77
5.4.180.0730.04718.98
5.4.170.0670.05318.79
5.4.160.0770.04718.96
5.4.150.0670.05318.75
5.4.140.0700.04716.18
5.4.130.0770.04016.26
5.4.120.0600.06016.29
5.4.110.0700.05016.39
5.4.100.0670.05016.29
5.4.90.0630.05316.18
5.4.80.0630.05316.44
5.4.70.0230.03016.39
5.4.60.0270.06316.04
5.4.50.0000.03316.36
5.4.40.0000.03716.45
5.4.30.0030.07316.38
5.4.20.0030.07316.37

preferences:
81.6 ms | 401 KiB | 5 Q