3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { } $class = Foo::class; $foo = new $class();

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.110.0100.01020.94
8.3.100.0130.00724.06
8.3.90.0040.00426.77
8.3.80.0060.00617.97
8.3.70.0150.00418.46
8.3.60.0110.00418.18
8.3.50.0140.00318.20
8.3.40.0070.01118.64
8.3.30.0040.01118.72
8.3.20.0080.00018.41
8.3.10.0050.00221.91
8.3.00.0000.00821.69
8.2.230.0100.00022.58
8.2.220.0060.00337.54
8.2.210.0110.00726.77
8.2.200.0040.00716.38
8.2.190.0070.01318.52
8.2.180.0180.00418.54
8.2.170.0060.00922.96
8.2.160.0040.01220.52
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00421.05
8.2.120.0040.00426.35
8.2.110.0080.00319.45
8.2.100.0080.00417.91
8.2.90.0060.00317.63
8.2.80.0040.00417.97
8.2.70.0000.00817.80
8.2.60.0040.00418.22
8.2.50.0090.00018.10
8.2.40.0000.00820.93
8.2.30.0000.00720.68
8.2.20.0040.00418.04
8.2.10.0040.00418.11
8.2.00.0080.00018.02
8.1.290.0090.00030.84
8.1.280.0150.00025.92
8.1.270.0040.00420.38
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0040.00420.91
8.1.230.0080.00417.61
8.1.220.0060.00317.74
8.1.210.0080.00018.77
8.1.200.0060.00317.10
8.1.190.0030.00620.48
8.1.180.0040.00418.10
8.1.170.0040.00418.38
8.1.160.0040.00418.77
8.1.150.0040.00418.80
8.1.140.0040.00418.72
8.1.130.0070.00020.16
8.1.120.0040.00417.44
8.1.110.0000.00717.32
8.1.100.0000.00717.38
8.1.90.0000.00717.34
8.1.80.0030.00517.26
8.1.70.0080.00017.37
8.1.60.0000.00717.37
8.1.50.0000.00717.33
8.1.40.0030.00517.40
8.1.30.0030.00617.46
8.1.20.0040.00417.59
8.1.10.0030.00517.42
8.1.00.0000.00917.56
8.0.300.0040.00418.77
8.0.290.0000.00916.63
8.0.280.0030.00318.24
8.0.270.0000.00817.09
8.0.260.0030.00320.09
8.0.250.0030.00316.91
8.0.240.0030.00316.75
8.0.230.0000.00716.89
8.0.220.0000.00716.86
8.0.210.0030.00316.82
8.0.200.0030.00316.91
8.0.190.0060.00416.81
8.0.180.0030.00616.81
8.0.170.0030.00616.88
8.0.160.0000.00816.78
8.0.150.0070.00016.78
8.0.140.0030.00416.78
8.0.130.0050.00013.17
8.0.120.0000.00716.73
8.0.110.0050.00316.70
8.0.100.0070.00016.69
8.0.90.0080.00016.85
8.0.80.0080.00616.78
8.0.70.0000.00716.86
8.0.60.0040.00416.69
8.0.50.0040.00416.93
8.0.30.0100.00717.06
8.0.20.0190.00617.40
8.0.10.0070.00016.78
8.0.00.0090.00916.74
7.4.330.0000.00515.55
7.4.320.0060.00016.47
7.4.300.0000.00716.44
7.4.290.0080.00016.33
7.4.280.0080.00016.41
7.4.270.0040.00416.44
7.4.260.0000.00816.42
7.4.250.0040.00416.44
7.4.240.0040.00416.44
7.4.230.0030.00316.63
7.4.220.0030.00516.41
7.4.210.0050.01116.51
7.4.200.0000.00716.27
7.4.160.0110.00716.33
7.4.140.0110.00717.86
7.4.130.0160.00916.43
7.4.120.0090.00916.38
7.4.110.0100.00716.34
7.4.100.0100.01016.36
7.4.90.0080.00916.21
7.4.80.0100.00719.39
7.4.70.0140.00716.31
7.4.60.0060.01616.50
7.4.50.0060.00916.11
7.4.40.0150.00816.45
7.4.00.0090.00614.82
7.3.330.0050.00013.18
7.3.320.0030.00313.16
7.3.310.0040.00416.21
7.3.300.0000.00616.20
7.3.290.0070.00016.11
7.3.280.0080.00816.19
7.3.260.0110.00816.21
7.3.240.0070.01216.22
7.3.230.0130.00816.23
7.3.210.0110.00716.28
7.3.200.0040.01116.60
7.3.190.0110.00416.32
7.3.180.0030.01416.37
7.3.170.0150.00616.36
7.3.160.0070.01416.50
7.2.330.0210.00316.66
7.2.320.0190.00316.55
7.2.310.0080.00916.59
7.2.300.0110.00716.65
7.2.290.0070.01516.55
7.2.100.0070.00814.40
7.2.90.0200.00914.55
7.2.80.1390.00714.35
7.2.70.0410.00415.07
7.2.60.0250.00614.81
7.2.50.0330.00515.02
7.2.40.1400.00014.62
7.2.30.0150.00014.48
7.2.20.0150.00714.95
7.2.10.1770.00614.96
7.2.00.0120.00615.00
7.1.220.1010.00313.84
7.1.210.0110.00713.73
7.1.200.1630.01313.68
7.1.190.0430.01513.65
7.1.180.0130.00513.72
7.1.170.0150.00013.92
7.1.160.0240.00613.80
7.1.150.1540.00313.63
7.1.140.0130.00613.67
7.1.130.0130.00913.52
7.1.120.1450.00913.55
7.1.110.0860.00713.82
7.1.100.0200.00313.55
7.1.90.0290.00613.69
7.1.80.1270.00713.71
7.1.70.1570.01313.80
7.1.60.1760.01431.94
7.1.50.1760.00831.73
7.1.40.2100.00631.89
7.1.30.1710.01431.89
7.1.20.0360.00631.66
7.1.10.1380.01313.75
7.1.00.1980.01013.87
5.6.380.0070.00713.82

preferences:
29.28 ms | 403 KiB | 5 Q