3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { function __construct(){echo 'a';} } $test = 'Test'; new $test; new ${!${''}='Test'};

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.70.0040.01116.75
8.3.60.0100.01016.50
8.3.50.0140.00421.31
8.3.40.0090.01218.84
8.3.30.0090.00618.58
8.3.20.0040.00420.35
8.3.10.0030.00623.69
8.3.00.0060.00317.80
8.2.190.0090.00618.29
8.2.180.0090.00918.29
8.2.170.0140.00022.96
8.2.160.0130.00020.53
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0040.00417.75
8.2.110.0040.00722.12
8.2.100.0070.00417.80
8.2.90.0060.00319.21
8.2.80.0080.00017.97
8.2.70.0060.00317.50
8.2.60.0030.00517.93
8.2.50.0040.00418.07
8.2.40.0040.00420.97
8.2.30.0000.00720.60
8.2.20.0040.00417.58
8.2.10.0030.00718.23
8.2.00.0050.00317.93
8.1.280.0140.00425.92
8.1.270.0040.00423.88
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00022.48
8.1.230.0100.00017.76
8.1.220.0030.00617.74
8.1.210.0030.00618.77
8.1.200.0060.00317.35
8.1.190.0040.00417.23
8.1.180.0070.00318.10
8.1.170.0000.01118.57
8.1.160.0000.00721.92
8.1.150.0070.00018.91
8.1.140.0000.00819.73
8.1.130.0000.00817.68
8.1.120.0030.00617.39
8.1.110.0080.00317.46
8.1.100.0050.00317.28
8.1.90.0050.00217.44
8.1.80.0040.00417.48
8.1.70.0030.00317.45
8.1.60.0000.00817.54
8.1.50.0050.00317.42
8.1.40.0000.00917.39
8.1.30.0040.00417.70
8.1.20.0040.00417.67
8.1.10.0080.00017.57
8.1.00.0040.00417.54
8.0.300.0070.00018.77
8.0.290.0070.00016.75
8.0.280.0040.00418.33
8.0.270.0020.00517.27
8.0.260.0060.00017.13
8.0.250.0000.00716.87
8.0.240.0030.00316.82
8.0.230.0000.00716.84
8.0.220.0000.00716.90
8.0.210.0000.00716.82
8.0.200.0000.00616.99
8.0.190.0040.00416.82
8.0.180.0000.00816.80
8.0.170.0050.00316.85
8.0.160.0030.00316.89
8.0.150.0070.00016.88
8.0.140.0000.00816.86
8.0.130.0040.00413.24
8.0.120.0060.00316.83
8.0.110.0040.00416.94
8.0.100.0000.00716.88
8.0.90.0040.00416.76
8.0.80.0090.00816.82
8.0.70.0040.00416.73
8.0.60.0030.00516.72
8.0.50.0030.00516.92
8.0.30.0110.00517.19
8.0.20.0110.00817.40
8.0.10.0030.00516.86
8.0.00.0050.01216.72
7.4.330.0050.00015.08
7.4.320.0030.00316.46
7.4.300.0000.00716.45
7.4.290.0000.00716.59
7.4.280.0000.00816.55
7.4.270.0040.00416.53
7.4.260.0000.00716.48
7.4.250.0030.00316.52
7.4.240.0050.00216.54
7.4.230.0000.00816.54
7.4.220.0120.00816.61
7.4.210.0090.00616.69
7.4.200.0000.00716.54
7.4.160.0130.00316.50
7.4.150.0070.01117.40
7.4.140.0120.00917.86
7.4.130.0100.01016.56
7.4.120.0130.00516.46
7.4.110.0090.00916.48
7.4.100.0160.00616.63
7.4.90.0130.01316.31
7.4.80.0170.00719.39
7.4.70.0000.01716.48
7.4.60.0090.01216.48
7.4.50.0090.00016.58
7.4.40.0110.00616.56
7.4.30.0110.00716.54
7.4.00.0120.00314.88
7.3.330.0020.00213.22
7.3.320.0000.00613.18
7.3.310.0000.00716.25
7.3.300.0060.00016.22
7.3.290.0070.00716.25
7.3.280.0070.01116.26
7.3.270.0070.01017.40
7.3.260.0070.01016.32
7.3.250.0120.00916.40
7.3.240.0120.00816.39
7.3.230.0040.01316.39
7.3.210.0150.01516.27
7.3.200.0090.00816.43
7.3.190.0090.00616.36
7.3.180.0100.00616.34
7.3.170.0090.00716.47
7.3.160.0030.01316.55
7.2.330.0030.01516.59
7.2.320.0170.00316.39
7.2.310.0080.00816.52
7.2.300.0030.01316.58
7.2.290.0000.02116.35
7.2.60.0030.00617.01
7.1.200.0000.01415.71
7.1.100.0030.00918.01
7.1.70.0040.00417.03
7.1.60.0060.01919.50
7.1.50.0030.01616.83
7.1.00.0100.07022.54
7.0.200.0470.00914.54
7.0.60.0070.08319.97
7.0.50.0070.07717.73
7.0.40.0070.04320.26
7.0.30.0070.06020.10
7.0.20.0270.07020.09
7.0.10.0130.03720.19
7.0.00.0070.06020.22
5.6.280.0000.03720.91
5.6.210.0070.08020.56
5.6.200.0070.08018.12
5.6.190.0100.08020.47
5.6.180.0170.04020.63
5.6.170.0270.07020.55
5.6.160.0000.09020.43
5.6.150.0130.04318.19
5.6.140.0070.08318.27
5.6.130.0070.07718.27
5.6.120.0070.08721.09
5.6.110.0070.07721.08
5.6.100.0230.05721.04
5.6.90.0000.09020.95
5.6.80.0100.06720.37
5.5.350.0000.06320.34
5.5.340.0100.07718.01
5.5.330.0100.06720.19
5.5.320.3570.03720.36
5.5.310.0200.05020.26
5.5.300.0030.04017.98
5.5.290.0070.07317.95
5.5.280.0100.06320.66
5.5.270.0170.04720.78
5.5.260.0200.07720.76
5.5.250.0170.07720.59
5.5.240.0000.08020.26
5.4.450.0830.05719.47
5.4.440.0870.05319.57
5.4.430.0700.06319.16
5.4.420.0730.05719.18
5.4.410.0800.04719.05
5.4.400.0930.07019.23
5.4.390.0870.05719.16
5.4.380.0730.05319.12
5.4.370.0700.06019.14
5.4.360.0830.05319.15
5.4.350.0830.05719.14
5.4.340.1000.05719.06
5.4.320.0930.07319.32
5.4.310.0800.05019.14
5.4.300.0930.04319.03
5.4.290.1030.05319.14
5.4.280.0830.05318.86
5.4.270.0800.05019.25
5.4.260.0670.06019.01
5.4.250.0770.04719.13
5.4.240.0700.05319.29
5.4.230.0730.05319.28
5.4.220.0700.05719.05
5.4.210.0730.05319.15
5.4.200.0730.05718.83
5.4.190.0700.06319.21
5.4.180.0930.06319.00
5.4.170.0700.05319.04
5.4.160.0730.06319.35
5.4.150.0770.05319.13
5.4.140.0700.05016.32
5.4.130.0670.04716.57
5.4.120.0800.05016.41
5.4.110.0700.05316.70
5.4.100.0770.04716.62
5.4.90.0670.05316.28
5.4.80.0700.05016.40
5.4.70.0270.05016.27
5.4.60.0070.04716.23
5.4.50.0030.04716.43
5.4.40.0270.03316.51
5.4.30.0230.05016.42
5.4.20.0000.06316.55

preferences:
74.1 ms | 401 KiB | 5 Q