3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { const null = true; const int = true; const integer = true; } var_dump(Foo::null, Foo::int, Foo::integer);

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.0100.00718.31
8.3.50.0120.00821.02
8.3.40.0120.00318.64
8.3.30.0070.00718.92
8.3.20.0080.00020.12
8.3.10.0000.00721.73
8.3.00.0000.00820.95
8.2.180.0000.01418.04
8.2.170.0110.00322.96
8.2.160.0100.00320.50
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0000.00820.94
8.2.110.0030.00721.18
8.2.100.0060.00617.59
8.2.90.0050.00317.78
8.2.80.0040.00417.97
8.2.70.0000.00917.80
8.2.60.0080.00017.91
8.2.50.0060.00318.10
8.2.40.0000.01019.35
8.2.30.0050.00319.04
8.2.20.0000.00817.47
8.2.10.0080.00017.96
8.2.00.0000.00717.52
8.1.280.0160.00325.92
8.1.270.0080.00018.59
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00322.05
8.1.230.0110.00022.75
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0000.00917.23
8.1.190.0060.00317.10
8.1.180.0040.00418.10
8.1.170.0000.00818.57
8.1.160.0050.00220.13
8.1.150.0040.00418.75
8.1.140.0000.00717.23
8.1.130.0070.00017.74
8.1.120.0000.00717.38
8.1.110.0030.00517.27
8.1.100.0050.00217.38
8.1.90.0040.00417.34
8.1.80.0080.00017.32
8.1.70.0040.00417.20
8.1.60.0060.00317.30
8.1.50.0040.00417.45
8.1.40.0040.00417.28
8.1.30.0040.00417.51
8.1.20.0040.00417.50
8.1.10.0040.00417.34
8.1.00.0030.00617.18
8.0.300.0070.00019.73
8.0.290.0090.00016.58
8.0.280.0030.00318.24
8.0.270.0000.00717.02
8.0.260.0000.00817.13
8.0.250.0000.00716.83
8.0.240.0000.00816.81
8.0.230.0030.00316.70
8.0.220.0070.00016.71
8.0.210.0030.00316.64
8.0.200.0030.00316.88
8.0.190.0040.00416.84
8.0.180.0000.00716.73
8.0.170.0000.00716.84
8.0.160.0020.00516.66
8.0.150.0000.00716.72
8.0.140.0000.00816.72
8.0.130.0030.00313.18
8.0.120.0000.00816.62
8.0.110.0000.00816.75
8.0.100.0000.00716.63
8.0.90.0000.00716.82
8.0.80.0100.01316.70
8.0.70.0000.00816.55
8.0.60.0000.00716.66
8.0.50.0040.00416.71
8.0.30.0170.00616.80
8.0.20.0150.01017.40
8.0.10.0000.00716.82
8.0.00.0050.01216.61
7.4.330.0000.00515.03
7.4.320.0030.00316.39
7.4.300.0040.00416.46
7.4.290.0000.00816.43
7.4.280.0000.00716.49
7.4.270.0000.00816.38
7.4.260.0070.00016.36
7.4.250.0040.00416.43
7.4.240.0040.00416.37
7.4.230.0030.00316.37
7.4.220.0150.00916.46
7.4.210.0060.01416.56
7.4.200.0030.00316.27
7.4.160.0110.00416.22
7.4.150.0100.01417.40
7.4.140.0110.00617.86
7.4.130.0080.00916.43
7.4.120.0050.01316.31
7.4.110.0070.01016.41
7.4.100.0030.01416.39
7.4.90.0130.00316.31
7.4.80.0070.01519.39
7.4.70.0130.00716.46
7.4.60.0100.00616.47
7.4.50.0000.00916.21
7.4.40.0100.00716.58
7.4.30.0090.00916.26
7.4.00.0070.01014.91
7.3.330.0070.00013.12
7.3.320.0050.00013.16
7.3.310.0020.00516.16
7.3.300.0030.00316.04
7.3.290.0080.00816.14
7.3.280.0110.00916.13
7.3.270.0080.00817.40
7.3.260.0060.01116.41
7.3.250.0090.00916.15
7.3.240.0070.01116.43
7.3.230.0110.00716.41
7.3.210.0160.00616.37
7.3.200.0140.00519.39
7.3.190.0170.00916.25
7.3.180.0070.01416.48
7.3.170.0060.01316.27
7.3.160.0040.01316.20
7.2.330.0100.00716.35
7.2.320.0140.01616.45
7.2.310.0100.00616.30
7.2.300.0070.01016.23
7.2.290.0120.01116.30
7.2.00.0040.01119.16
7.1.200.0000.01315.70
7.1.100.0060.00317.93
7.1.70.0000.01616.90
7.1.60.0140.01119.22
7.1.50.0030.00916.80
7.1.00.0070.07322.30
7.0.200.0030.00616.67
7.0.140.0000.07021.95
7.0.60.0030.08320.02
7.0.50.0030.04317.94
7.0.40.0100.08320.04
7.0.30.0300.07720.09
7.0.20.0230.07320.13
7.0.10.0030.04320.16
7.0.00.0130.07320.20
5.6.280.0030.07320.99
5.6.210.0100.07020.46
5.6.200.0030.08018.15
5.6.190.0030.04720.58
5.6.180.0230.03720.61
5.6.170.0230.04320.48
5.6.160.0100.08320.39
5.6.150.0000.06018.29
5.6.140.0070.07318.25
5.6.130.0000.05318.21
5.6.120.0170.07721.03
5.6.110.0030.04721.01
5.6.100.0100.08021.00
5.6.90.0070.07020.95
5.6.80.0100.08320.48
5.5.350.0230.07320.42
5.5.340.0100.05017.92
5.5.330.0070.04720.31
5.5.320.0230.04320.27
5.5.310.0330.07320.29
5.5.300.0100.05017.97
5.5.290.0030.07718.02
5.5.280.0070.03720.88
5.5.270.0070.08320.76
5.5.260.0130.07320.64
5.5.250.0070.07320.68
5.5.240.0030.03320.16
5.4.450.0100.06319.59
5.4.440.0100.06319.59
5.4.430.0070.06319.23
5.4.420.0130.05719.47
5.4.410.0200.05019.41
5.4.400.0170.05018.91
5.4.390.0270.04018.95
5.4.380.0070.06718.59
5.4.370.0170.05318.74
5.4.360.0230.04718.76
5.4.350.0130.06018.75
5.4.340.0200.05018.46
5.4.320.0130.06318.52
5.4.310.0170.05318.52
5.4.300.0130.06318.80
5.4.290.0230.04718.78
5.4.280.0270.04318.85
5.4.270.0170.05718.78
5.4.260.0170.06318.50
5.4.250.0200.06718.74
5.4.240.0270.05018.52
5.4.230.0300.04318.71
5.4.220.0130.06018.44
5.4.210.0200.05318.58
5.4.200.0230.04316.78
5.4.190.0230.04318.56
5.4.180.0170.06318.45
5.4.170.0170.05718.54
5.4.160.0200.05018.77
5.4.150.0200.05018.76
5.4.140.0230.04316.30
5.4.130.0130.05316.18
5.4.120.0270.04016.33
5.4.110.0230.04316.32
5.4.100.0200.05016.32
5.4.90.0170.05016.16
5.4.80.0200.04716.27
5.4.70.0230.04316.27
5.4.60.0130.05316.22
5.4.50.0130.05016.38
5.4.40.0300.04016.23
5.4.30.0170.05316.22
5.4.20.0170.05016.20
5.4.10.0130.05316.24
5.4.00.0230.04015.78
5.3.290.0130.05714.67
5.3.280.0230.04714.76
5.3.270.0170.05314.82
5.3.260.0130.06314.57
5.3.250.0270.04014.81
5.3.240.0170.07314.62
5.3.230.0130.05714.75
5.3.220.0200.06014.74
5.3.210.0370.04014.66
5.3.200.0200.05014.76
5.3.190.0400.05314.68
5.3.180.0200.05314.65
5.3.170.0230.04714.57
5.3.160.0200.05314.58
5.3.150.0070.06314.77
5.3.140.0170.05014.57
5.3.130.0200.05014.76
5.3.120.0170.05714.71
5.3.110.0100.06314.54
5.3.100.0170.05314.07
5.3.90.0130.05314.04
5.3.80.0230.04714.07
5.3.70.0130.05314.01
5.3.60.0100.05314.05
5.3.50.0170.05014.01
5.3.40.0300.03713.97
5.3.30.0130.05013.95
5.3.20.0200.04713.79
5.3.10.0130.05313.82
5.3.00.0200.04713.68
5.2.170.0200.05011.13
5.2.160.0170.03711.24
5.2.150.0130.04311.16
5.2.140.0130.05011.24
5.2.130.0070.04711.21
5.2.120.0130.04711.20
5.2.110.0130.04311.22
5.2.100.0230.03011.30
5.2.90.0070.04711.19
5.2.80.0200.03311.11
5.2.70.0070.04711.21
5.2.60.0100.04311.14
5.2.50.0230.05011.07
5.2.40.0230.04311.09
5.2.30.0100.04311.06
5.2.20.0130.04311.01
5.2.10.0070.05710.88
5.2.00.0130.05310.75
5.1.60.0100.03710.03
5.1.50.0170.02710.01
5.1.40.0070.04010.10
5.1.30.0200.02710.30
5.1.20.0130.03710.39
5.1.10.0070.04010.09
5.1.00.0070.05310.11
5.0.50.0100.0378.66
5.0.40.0100.0238.44
5.0.30.0070.0508.35
5.0.20.0130.0238.27
5.0.10.0030.0338.19
5.0.00.0130.0438.14
4.4.90.0130.0176.28
4.4.80.0100.0236.28
4.4.70.0030.0276.28
4.4.60.0070.0236.28
4.4.50.0030.0306.28
4.4.40.0030.0476.28
4.4.30.0130.0206.28
4.4.20.0100.0206.28
4.4.10.0030.0236.28
4.4.00.0070.0336.28
4.3.110.0070.0276.28
4.3.100.0000.0276.28
4.3.90.0100.0206.28
4.3.80.0000.0406.28
4.3.70.0100.0176.28
4.3.60.0070.0236.28
4.3.50.0130.0176.28
4.3.40.0170.0276.28
4.3.30.0070.0206.28
4.3.20.0000.0306.28
4.3.10.0000.0276.28
4.3.00.0030.0307.60

preferences:
54.57 ms | 401 KiB | 5 Q