3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace t; class a {} var_dump(get_class(new \t\a()));

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.20.0100.01017.34
8.4.10.0040.00419.13
8.3.150.0060.00616.93
8.3.140.0030.01418.79
8.3.130.0070.01518.20
8.3.120.0100.00020.55
8.3.110.0030.00620.94
8.3.100.0080.00024.06
8.3.90.0070.01426.77
8.3.80.0060.00316.63
8.3.70.0090.01216.58
8.3.60.0090.00916.38
8.3.50.0140.00521.89
8.3.40.0040.01118.67
8.3.30.0150.00018.67
8.3.20.0080.00820.34
8.3.10.0040.00421.75
8.3.00.0000.00722.39
8.2.270.0070.01116.71
8.2.260.0040.00416.30
8.2.250.0090.00016.41
8.2.240.0060.00318.89
8.2.230.0050.00522.58
8.2.220.0000.00837.54
8.2.210.0100.00326.77
8.2.200.0060.00316.50
8.2.190.0120.00616.58
8.2.180.0180.00016.32
8.2.170.0150.00022.96
8.2.160.0070.00722.16
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00422.13
8.2.120.0000.00726.35
8.2.110.0050.00520.40
8.2.100.0030.00717.59
8.2.90.0070.00018.97
8.2.80.0060.00617.97
8.2.70.0080.00017.50
8.2.60.0040.00417.55
8.2.50.0050.00318.10
8.2.40.0050.00322.32
8.2.30.0070.00018.97
8.2.20.0070.00017.43
8.2.10.0040.00417.99
8.2.00.0040.00417.55
8.1.310.0060.00316.22
8.1.300.0160.00320.02
8.1.290.0040.00418.88
8.1.280.0110.01125.92
8.1.270.0040.00423.79
8.1.260.0050.00328.09
8.1.250.0000.00728.09
8.1.240.0030.00623.76
8.1.230.0040.00823.88
8.1.220.0060.00317.74
8.1.210.0000.00818.77
8.1.200.0000.00917.10
8.1.190.0040.00416.98
8.1.180.0030.00618.10
8.1.170.0000.01118.61
8.1.160.0000.00722.13
8.1.150.0000.00718.79
8.1.140.0070.00319.43
8.1.130.0000.00717.54
8.1.120.0040.00417.21
8.1.110.0080.00017.38
8.1.100.0000.00817.36
8.1.90.0030.00317.31
8.1.80.0000.00717.21
8.1.70.0000.00717.33
8.1.60.0030.00617.50
8.1.50.0040.00417.28
8.1.40.0080.00017.27
8.1.30.0000.00917.39
8.1.20.0000.00717.48
8.1.10.0000.00717.45
8.1.00.0070.00017.34
8.0.300.0020.00518.77
8.0.290.0040.00416.58
8.0.280.0070.00018.41
8.0.270.0030.00317.05
8.0.260.0030.00317.43
8.0.250.0000.00616.79
8.0.240.0030.00316.88
8.0.230.0030.00316.88
8.0.220.0000.00716.72
8.0.210.0030.00316.67
8.0.200.0000.00716.85
8.0.190.0000.00716.80
8.0.180.0040.00416.80
8.0.170.0030.00516.76
8.0.160.0070.00016.74
8.0.150.0000.00716.80
8.0.140.0080.00016.69
8.0.130.0030.00313.16
8.0.120.0080.00016.77
8.0.110.0040.00416.64
8.0.100.0000.00816.58
8.0.90.0030.00516.74
8.0.80.0130.00316.73
8.0.70.0030.00516.55
8.0.60.0000.00716.80
8.0.50.0040.00416.74
8.0.30.0120.00716.99
8.0.20.0100.01017.40
8.0.10.0000.00816.82
8.0.00.0070.01116.62
7.4.330.0060.00015.08
7.4.320.0000.00616.38
7.4.300.0060.00016.31
7.4.290.0030.00316.43
7.4.280.0040.00416.47
7.4.270.0020.00516.47
7.4.260.0030.00316.37
7.4.250.0030.00316.46
7.4.240.0070.00016.44
7.4.230.0030.00316.32
7.4.220.0170.01016.40
7.4.210.0060.00916.48
7.4.200.0000.00816.49
7.4.160.0100.00716.13
7.4.150.0100.01617.40
7.4.140.0080.01017.86
7.4.130.0080.01016.35
7.4.120.0100.01016.35
7.4.110.0070.01116.22
7.4.100.0120.00916.18
7.4.90.0290.02316.50
7.4.80.0070.01319.39
7.4.70.0130.00416.30
7.4.60.0070.01016.42
7.4.50.0100.00716.41
7.4.40.0060.00916.23
7.4.30.0100.00716.52
7.4.10.0040.01514.71
7.4.00.0080.00814.94
7.3.330.0000.00713.13
7.3.320.0000.00513.11
7.3.310.0030.00316.19
7.3.300.0000.00716.16
7.3.290.0080.00716.16
7.3.280.0110.00816.17
7.3.270.0140.00317.40
7.3.260.0110.00616.29
7.3.250.0050.01516.37
7.3.240.0110.00716.27
7.3.230.0140.00616.39
7.3.210.0070.01016.20
7.3.200.0100.00616.37
7.3.190.0100.00716.11
7.3.180.0130.00316.44
7.3.170.0130.00316.39
7.3.160.0100.01316.43
7.3.130.0120.00614.64
7.3.120.0030.01514.38
7.3.110.0030.01014.45
7.3.100.0030.01014.70
7.3.90.0000.01514.48
7.3.80.0000.01014.54
7.3.70.0070.00714.43
7.3.60.0070.00314.34
7.3.50.0000.01214.70
7.3.40.0000.01714.40
7.3.30.0000.01314.48
7.3.20.0030.00916.48
7.3.10.0030.01016.34
7.3.00.0110.00416.51
7.2.330.0090.00916.39
7.2.320.0090.00916.43
7.2.310.0060.00916.47
7.2.300.0030.01916.55
7.2.290.0110.00516.43
7.2.260.0140.00315.02
7.2.250.0070.00614.54
7.2.240.0030.01014.88
7.2.230.0060.01215.11
7.2.220.0090.00314.92
7.2.210.0070.00714.84
7.2.200.0120.00314.86
7.2.190.0070.00714.74
7.2.180.0110.00614.95
7.2.170.0040.00815.00
7.2.160.0000.01014.71
7.2.150.0110.00016.85
7.2.140.0080.00416.85
7.2.130.0060.00916.80
7.2.120.0060.01216.47
7.2.110.0060.00916.73
7.2.100.0070.01016.88
7.2.90.0000.01016.54
7.2.80.0000.01616.60
7.2.70.0110.00016.93
7.2.60.0030.01016.73
7.2.50.0070.01016.87
7.2.40.0090.00616.79
7.2.30.0090.00616.68
7.2.20.0070.01016.86
7.2.10.0090.00616.84
7.2.00.0040.01117.89
7.1.330.0040.00415.66
7.1.320.0100.00615.42
7.1.310.0040.01015.46
7.1.300.0090.00315.81
7.1.290.0120.00315.67
7.1.280.0070.00415.54
7.1.270.0040.00815.59
7.1.260.0000.01115.63
7.1.250.0040.01115.57
7.1.240.0040.01115.52
7.1.230.0030.01315.73
7.1.220.0000.00815.51
7.1.210.0070.00715.43
7.1.200.0060.00715.56
7.1.190.0060.00915.66
7.1.180.0070.00715.53
7.1.170.0070.01015.63
7.1.160.0110.00415.21
7.1.150.0060.00915.67
7.1.140.0030.01115.30
7.1.130.0000.01415.36
7.1.120.0000.01315.69
7.1.110.0070.00715.77
7.1.100.0000.01515.54
7.1.90.0140.00315.65
7.1.80.0030.00715.64
7.1.70.0050.00516.28
7.1.60.0060.00716.50
7.1.50.0090.00615.63
7.1.40.0070.01015.61
7.1.30.0070.00715.54
7.1.20.0060.01015.78
7.1.10.0100.00715.34
7.1.00.0070.04019.05
7.0.330.0030.00615.51
7.0.320.0040.01115.46
7.0.310.0070.00715.09
7.0.300.0070.00715.37
7.0.290.0060.00315.21
7.0.280.0040.00815.38
7.0.270.0040.00815.35
7.0.260.0070.00415.26
7.0.250.0030.00615.07
7.0.240.0080.00815.48
7.0.230.0100.00315.51
7.0.220.0030.00515.29
7.0.210.0070.00715.45
7.0.200.0250.00515.07
7.0.190.0100.00315.37
7.0.180.0060.00815.31
7.0.170.0100.00315.05
7.0.160.0000.01315.51
7.0.150.0050.00315.17
7.0.140.0040.00815.33
7.0.130.0070.01315.35
7.0.120.0070.00315.41
7.0.110.0060.00615.48
7.0.100.0200.04017.63
7.0.90.0130.03517.73
7.0.80.0200.02817.62
7.0.70.0130.02917.80
7.0.60.0170.03017.64
7.0.50.0230.02517.88
7.0.40.0170.03216.93
7.0.30.0150.03317.04
7.0.20.0150.03216.97
7.0.10.0120.03516.99
7.0.00.0200.03316.99
5.6.400.0030.01014.00
5.6.390.0000.01514.45
5.6.380.0060.00314.32
5.6.370.0120.00314.54
5.6.360.0070.00714.21
5.6.350.0120.00314.46
5.6.340.0060.00314.19
5.6.330.0090.00314.22
5.6.320.0040.01114.06
5.6.310.0060.00614.23
5.6.300.0070.00714.34
5.6.290.0100.01013.83
5.6.280.0070.00714.52
5.6.270.0040.00714.22
5.6.260.0060.00614.03
5.6.250.0070.03117.60
5.6.240.0050.03517.40
5.6.230.0100.02917.29
5.6.220.0030.03717.45
5.6.210.0080.03317.37
5.6.200.0080.03517.65
5.6.190.0130.02817.85
5.6.180.0100.03017.80
5.6.170.0080.02917.61
5.6.160.0080.03217.71
5.6.150.0080.03317.73
5.6.140.0100.03217.73
5.6.130.0070.03617.71
5.6.120.0070.03317.60
5.6.110.0060.03317.53
5.6.100.0120.03017.59
5.6.90.0120.04017.61
5.6.80.0050.03917.30
5.6.70.0030.03317.44
5.6.60.0100.03717.47
5.6.50.0070.03317.24
5.6.40.0080.03317.38
5.6.30.0100.03217.19
5.6.20.0040.03617.12
5.6.10.0070.03817.18
5.6.00.0090.03117.23

preferences:
17.48 ms | 403 KiB | 5 Q