3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace test\derp; class test { const ABC_D = 0; const ABC_E = 1; public function test() { var_dump(static::ABC_D); } } $d = new test(); $d->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.40.0040.01218.71
8.3.30.0110.00420.21
8.3.20.0050.00220.21
8.3.10.0060.00322.01
8.3.00.0050.00322.43
8.2.170.0070.00722.96
8.2.160.0030.01420.47
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0040.00421.06
8.2.110.0080.00022.16
8.2.100.0040.00819.20
8.2.90.0030.00619.10
8.2.80.0000.00819.27
8.2.70.0030.00617.50
8.2.60.0030.00617.90
8.2.50.0040.00418.07
8.2.40.0030.00618.22
8.2.30.0040.00417.93
8.2.20.0080.00017.54
8.2.10.0000.00717.67
8.2.00.0100.00017.54
8.1.270.0110.00724.66
8.1.260.0040.00426.35
8.1.250.0020.00528.09
8.1.240.0090.00023.81
8.1.230.0090.00319.02
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0040.00417.22
8.1.190.0060.00317.51
8.1.180.0030.00618.89
8.1.170.0080.00018.42
8.1.160.0000.00722.12
8.1.150.0050.00318.59
8.1.140.0050.00317.42
8.1.130.0070.00017.83
8.1.120.0000.00817.46
8.1.110.0030.00617.40
8.1.100.0000.00817.48
8.1.90.0050.00317.40
8.1.80.0030.00317.44
8.1.70.0000.00717.45
8.1.60.0040.00417.45
8.1.50.0040.00417.47
8.1.40.0000.00817.50
8.1.30.0000.00817.63
8.1.20.0040.00417.53
8.1.10.0040.00417.50
8.1.00.0040.00417.27
8.0.300.0000.00718.77
8.0.290.0040.00417.02
8.0.280.0040.00418.42
8.0.270.0030.00317.23
8.0.260.0000.00816.86
8.0.250.0030.00316.96
8.0.240.0050.00316.84
8.0.230.0030.00316.82
8.0.220.0000.00716.93
8.0.210.0030.00316.89
8.0.200.0030.00316.95
8.0.190.0070.00016.93
8.0.180.0000.00716.79
8.0.170.0040.00416.91
8.0.160.0030.00316.82
8.0.150.0000.00716.80
8.0.140.0030.00316.79
8.0.130.0030.00313.30
8.0.120.0040.00416.77
8.0.110.0040.00416.93
8.0.100.0000.00716.74
8.0.90.0030.00516.90
8.0.80.0090.00616.93
8.0.70.0020.00516.97
8.0.60.0030.00616.83
8.0.50.0040.00416.72
8.0.30.0110.00717.07
8.0.20.0100.00817.40
8.0.10.0080.00016.88
8.0.00.0090.01116.57
7.4.330.0000.00515.07
7.4.320.0030.00316.47
7.4.300.0060.00016.61
7.4.290.0030.00316.51
7.4.280.0000.00716.56
7.4.270.0040.00416.50
7.4.260.0030.00616.59
7.4.250.0000.00816.55
7.4.240.0040.00416.51
7.4.230.0030.00316.59
7.4.220.0030.01316.52
7.4.210.0090.00916.52
7.4.200.0070.00016.65
7.4.190.0070.00016.40
7.4.160.0120.00416.25
7.4.150.0030.01817.40
7.4.140.0080.00917.86
7.4.130.0080.00816.39
7.4.120.0100.00716.44
7.4.110.0170.00016.47
7.4.100.0040.01516.46
7.4.90.0120.01216.28
7.4.80.0030.01419.39
7.4.70.0150.00316.48
7.4.60.0080.00816.33
7.4.50.0000.00616.40
7.4.40.0070.01122.77
7.4.30.0110.00616.41
7.4.00.0060.00915.07
7.3.330.0000.00513.29
7.3.320.0000.00513.29
7.3.310.0030.00316.30
7.3.300.0080.00016.20
7.3.290.0130.00716.22
7.3.280.0110.00616.31
7.3.270.0100.00717.40
7.3.260.0060.01116.35
7.3.250.0160.00616.39
7.3.240.0100.01016.43
7.3.230.0070.01016.39
7.3.210.0110.00616.24
7.3.200.0060.00919.39
7.3.190.0100.00616.60
7.3.180.0060.01016.57
7.3.170.0060.00916.36
7.3.160.0030.01216.18
7.3.120.0060.00914.45
7.2.330.0030.01516.62
7.2.320.0120.00816.76
7.2.310.0060.01216.79
7.2.300.0130.00616.23
7.2.290.0090.01316.54
7.1.200.0000.01515.75
7.1.70.0110.00417.05
7.1.60.0100.01319.43
7.1.50.0100.01016.54
7.1.00.0000.05022.24
7.0.200.0000.00716.30
7.0.140.0000.07321.97
7.0.60.0130.04019.92
7.0.50.0070.04017.86
7.0.40.0030.05720.18
7.0.30.0370.04020.11
7.0.20.0230.08020.24
7.0.10.0030.05720.33
7.0.00.0070.07720.08
5.6.280.0030.07320.89
5.6.210.0000.04320.47
5.6.200.0030.05018.23
5.6.190.0130.07720.55
5.6.180.0230.05320.34
5.6.170.0330.04720.62
5.6.160.0100.08320.55
5.6.150.0170.05018.19
5.6.140.0030.05318.17
5.6.130.0200.06018.14
5.6.120.0130.06720.83
5.6.110.0130.07721.14
5.6.100.0070.07020.94
5.6.90.0070.08721.00
5.6.80.0100.06320.37
5.5.350.0200.04320.43
5.5.340.0030.08017.92
5.5.330.0100.08320.35
5.5.320.0030.07720.38
5.5.310.0270.05720.46
5.5.300.0030.08318.02
5.5.290.0070.08018.02
5.5.280.0070.05320.81
5.5.270.0170.06720.78
5.5.260.0170.07320.87
5.5.250.0000.09020.66
5.5.240.0200.07320.24
5.4.450.0500.04019.64
5.4.440.0870.03719.48
5.4.430.0070.05019.40
5.4.420.0600.03719.20
5.4.410.0630.03719.32
5.4.400.0270.03719.32
5.4.390.1070.04318.97
5.4.380.0330.05718.71
5.4.370.0300.04718.78
5.4.360.0300.05318.80
5.4.350.0430.04718.75
5.4.340.0330.05718.83
5.4.320.0110.04012.50
5.4.310.0110.04412.50
5.4.300.0120.04412.50
5.4.290.0040.03912.50
5.4.280.0050.03612.39
5.4.270.0050.04212.39
5.4.260.0070.04312.39
5.4.250.0070.05318.95
5.4.240.0100.05318.64
5.4.230.0070.05318.75
5.4.220.0200.04318.89
5.4.210.0130.05019.09
5.4.200.0130.04718.74
5.4.190.0170.04718.82
5.4.180.0200.04018.94
5.4.170.0070.05718.79
5.4.160.0100.05018.83
5.4.150.0030.08719.07
5.4.140.0030.05716.34
5.4.130.0200.03316.35
5.4.120.0100.04716.28
5.4.110.0070.08016.41
5.4.100.0100.06016.39
5.4.90.0170.03716.47
5.4.80.0100.04316.60
5.4.70.0030.05016.60
5.4.60.0030.05016.34
5.4.50.0100.05716.35
5.4.40.0000.05316.43
5.4.30.0030.05016.48
5.4.20.0070.05016.48
5.4.10.0130.04716.50
5.4.00.0100.05315.85
5.3.290.0040.05712.80
5.3.280.0070.08014.50
5.3.270.0100.07014.68
5.3.260.0100.06314.77
5.3.250.0130.04314.74
5.3.240.0170.04014.73
5.3.230.0070.05314.73
5.3.220.0170.06714.48
5.3.210.0270.04714.63
5.3.200.0070.05314.58
5.3.190.0130.04714.68
5.3.180.0030.05314.57
5.3.170.0130.04314.55
5.3.160.0030.05014.64
5.3.150.0130.05314.63
5.3.140.0000.05314.71
5.3.130.0030.05314.53
5.3.120.0070.05014.37
5.3.110.0070.05714.62
5.3.100.0070.05014.19
5.3.90.0100.04714.01
5.3.80.0030.05313.92
5.3.70.0170.04014.10
5.3.60.0100.04714.02
5.3.50.0070.04714.13
5.3.40.0030.05313.94
5.3.30.0100.04713.98
5.3.20.0030.05013.77
5.3.10.0030.05013.63
5.3.00.0100.04713.71
5.2.170.0000.04711.15
5.2.160.0030.04011.06
5.2.150.0130.04311.17
5.2.140.0070.04711.29
5.2.130.0000.04311.11
5.2.120.0070.03711.05
5.2.110.0030.04011.01
5.2.100.0000.04311.11
5.2.90.0030.04011.10
5.2.80.0130.03311.24
5.2.70.0130.03310.92
5.2.60.0030.04311.06
5.2.50.0130.03311.11
5.2.40.0030.04010.94
5.2.30.0030.04011.09
5.2.20.0070.03710.79
5.2.10.0030.03710.92
5.2.00.0030.04010.72
5.1.60.0030.03310.01
5.1.50.0030.03310.11
5.1.40.0000.04710.12
5.1.30.0100.04310.25
5.1.20.0070.04310.42
5.1.10.0100.03010.25
5.1.00.0030.0339.83
5.0.50.0070.0278.43
5.0.40.0000.0308.46
5.0.30.0000.0438.26
5.0.20.0030.0278.34
5.0.10.0030.0278.25
5.0.00.0070.0378.11
4.4.90.0000.0236.94
4.4.80.0000.0236.94
4.4.70.0000.0236.94
4.4.60.0030.0236.94
4.4.50.0130.0176.94
4.4.40.0000.0376.94
4.4.30.0000.0236.87
4.4.20.0030.0206.87
4.4.10.0000.0236.87
4.4.00.0030.0306.87
4.3.110.0000.0236.87
4.3.100.0000.0306.87
4.3.90.0000.0236.87
4.3.80.0030.0406.87
4.3.70.0000.0206.87
4.3.60.0000.0206.87
4.3.50.0000.0236.87
4.3.40.0030.0336.87
4.3.30.0070.0176.87
4.3.20.0030.0206.87
4.3.10.0000.0206.87
4.3.00.0370.02314.48

preferences:
43.57 ms | 400 KiB | 5 Q