3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public const clazz = 'Foo'; } var_dump(Foo::clazz);

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.18
8.3.50.0130.00620.96
8.3.40.0110.00718.64
8.3.30.0140.00318.90
8.3.20.0040.00420.21
8.3.10.0060.00321.88
8.3.00.0070.00022.22
8.2.180.0150.00318.04
8.2.170.0060.00822.96
8.2.160.0030.01319.08
8.2.150.0000.00724.18
8.2.140.0080.00024.66
8.2.130.0120.00626.16
8.2.120.0040.00419.65
8.2.110.0060.00322.15
8.2.100.0080.00318.09
8.2.90.0000.00719.09
8.2.80.0050.00317.97
8.2.70.0030.00617.38
8.2.60.0030.00517.80
8.2.50.0060.00318.07
8.2.40.0040.00419.94
8.2.30.0030.00717.94
8.2.20.0040.00417.47
8.2.10.0060.00317.61
8.2.00.0030.00517.65
8.1.280.0120.00325.92
8.1.270.0030.00520.27
8.1.260.0000.00726.35
8.1.250.0070.00028.09
8.1.240.0060.00323.83
8.1.230.0070.00419.16
8.1.220.0060.00317.74
8.1.210.0000.00818.77
8.1.200.0160.00216.87
8.1.190.0040.00417.41
8.1.180.0030.00618.53
8.1.170.0060.00318.46
8.1.160.0040.00422.07
8.1.150.0040.00418.60
8.1.140.0040.00417.25
8.1.130.0030.00317.75
8.1.120.0040.00317.24
8.1.110.0000.00717.21
8.1.100.0050.00217.20
8.1.90.0070.00017.17
8.1.80.0040.00417.23
8.1.70.0000.00717.22
8.1.60.0060.00317.40
8.1.50.0040.00417.27
8.1.40.0040.00417.29
8.1.30.0040.00417.50
8.1.20.0040.00417.50
8.1.10.0000.00817.28
8.1.00.0030.00617.29
8.0.300.0000.00718.77
8.0.290.0000.00817.05
8.0.280.0000.00718.32
8.0.270.0030.00317.04
8.0.260.0030.00316.64
8.0.250.0000.00716.77
8.0.240.0030.00616.70
8.0.230.0000.00816.81
8.0.220.0000.00716.69
8.0.210.0000.00816.71
8.0.200.0030.00316.82
8.0.190.0050.00316.73
8.0.180.0000.00716.75
8.0.170.0070.00016.77
8.0.160.0000.00716.79
8.0.150.0040.00416.72
8.0.140.0000.00716.72
8.0.130.0060.00013.19
8.0.120.0050.00316.73
8.0.110.0000.00716.72
8.0.100.0040.00416.78
8.0.90.0040.00416.64
8.0.80.0090.01216.77
8.0.70.0050.00216.82
8.0.60.0040.00416.61
8.0.50.0050.00216.87
8.0.30.0080.00916.92
8.0.20.0140.00417.40
8.0.10.0000.00716.74
8.0.00.0090.01016.60
7.4.330.0030.00315.00
7.4.320.0000.00716.25
7.4.300.0000.00616.40
7.4.290.0030.00316.43
7.4.280.0070.00016.45
7.4.270.0040.00416.36
7.4.260.0000.00716.41
7.4.250.0040.00416.30
7.4.240.0030.00316.41
7.4.230.0000.00716.36
7.4.220.0160.00616.39
7.4.210.0070.00916.33
7.4.200.0000.00716.52
7.4.190.0030.00316.54
7.4.160.0120.00416.36
7.4.150.0100.00717.40
7.4.140.0090.01217.86
7.4.130.0090.01116.40
7.4.120.0100.01016.36
7.4.110.0090.00916.38
7.4.100.0150.00716.34
7.4.90.0150.00416.36
7.4.80.0100.00719.39
7.4.70.0060.01016.43
7.4.60.0030.01516.24
7.4.50.0040.00416.32
7.4.40.0060.00922.77
7.4.30.0100.00616.45
7.3.330.0020.00313.18
7.3.320.0050.00013.19
7.3.310.0070.00016.00
7.3.300.0030.00316.17
7.3.290.0080.01316.17
7.3.280.0080.00816.16
7.3.270.0070.01017.40
7.3.260.0140.00316.31
7.3.250.0100.00716.11
7.3.240.0110.00716.23
7.3.230.0120.00616.39
7.3.210.0040.01216.36
7.3.200.0040.01519.39
7.3.190.0100.00716.09
7.3.180.0090.00616.14
7.3.170.0100.00616.27
7.3.160.0150.00016.24
7.2.330.0140.00316.27
7.2.320.0070.01016.18
7.2.310.0130.01016.54
7.2.300.0060.01016.46
7.2.290.0100.01016.53
7.1.00.0030.03322.37
5.4.250.0070.05319.09
5.4.240.0070.07718.89
5.4.230.0100.05018.95
5.4.220.0130.07018.75
5.4.210.0030.08018.76
5.4.200.0100.07718.94
5.4.190.0230.06318.74
5.4.180.0100.05718.91
5.4.170.0070.05718.99
5.4.160.0070.08018.90
5.4.150.0070.06018.96
5.4.140.0030.06316.39
5.4.130.0100.05016.39
5.4.120.0130.05316.39
5.4.110.0230.05716.40
5.4.100.0100.04716.57
5.4.90.0130.06716.65
5.4.80.0130.06716.31
5.4.70.0030.05316.39
5.4.60.0070.05316.38
5.4.50.0130.04316.49
5.4.40.0070.05016.59
5.4.30.0130.04316.58
5.4.20.0100.05016.52
5.4.10.0100.05016.61
5.4.00.0070.06316.03
5.3.280.0130.05014.59
5.3.270.0130.04714.77
5.3.260.0130.06714.43
5.3.250.0100.05714.60
5.3.240.0000.08314.62
5.3.230.0030.05714.77
5.3.220.0200.05714.58
5.3.210.0000.06014.54
5.3.200.0070.05314.69
5.3.190.0030.05714.64
5.3.180.0130.04714.64
5.3.170.0030.05714.54
5.3.160.0100.05014.39
5.3.150.0130.04314.62
5.3.140.0070.06314.62
5.3.130.0170.04714.63
5.3.120.0170.06314.76
5.3.110.0100.05314.63
5.3.100.0130.05314.19
5.3.90.0100.06314.10
5.3.80.0070.05014.08
5.3.70.0130.04014.09
5.3.60.0030.05014.08
5.3.50.0030.05313.93
5.3.40.0170.04314.11
5.3.30.0000.05013.98
5.3.20.0130.04313.76
5.3.10.0200.04013.82
5.3.00.0070.05313.82

preferences:
38 ms | 401 KiB | 5 Q