3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { const NAME = '...'; }

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.140.0050.00516.88
8.3.130.0040.00418.47
8.3.120.0050.00520.77
8.3.110.0060.00320.94
8.3.100.0040.00424.06
8.3.90.0050.00226.77
8.3.80.0060.00318.43
8.3.70.0080.00816.58
8.3.60.0160.00616.63
8.3.50.0030.01718.54
8.3.40.0040.01120.14
8.3.30.0110.00318.46
8.3.20.0050.00324.18
8.3.10.0040.00424.66
8.3.00.0000.00826.16
8.2.250.0050.00316.46
8.2.240.0050.00518.74
8.2.230.0040.00422.58
8.2.220.0030.00637.54
8.2.210.0040.00426.77
8.2.200.0060.00318.29
8.2.190.0090.00616.58
8.2.180.0140.00725.92
8.2.170.0070.00718.71
8.2.160.0030.01022.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0070.00021.04
8.2.110.0100.00320.51
8.2.100.0070.00417.78
8.2.90.0050.00317.50
8.2.80.0000.00818.48
8.2.70.0040.00417.50
8.2.60.0050.00317.23
8.2.50.0040.00417.91
8.2.40.0030.00619.53
8.2.30.0050.00217.84
8.2.20.0060.00319.10
8.2.10.0080.00417.63
8.2.00.0090.00318.30
8.1.300.0040.00418.16
8.1.290.0030.00630.84
8.1.280.0100.01025.92
8.1.270.0070.00024.66
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00323.83
8.1.230.0150.00019.15
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0080.00017.35
8.1.190.0050.00317.10
8.1.180.0100.00018.10
8.1.170.0040.00417.62
8.1.160.0000.00818.94
8.1.150.0030.00518.41
8.1.140.0020.00717.34
8.1.130.0070.00117.95
8.1.120.0030.00517.31
8.1.110.0060.00317.34
8.1.100.0040.00717.26
8.1.90.0020.01217.34
8.1.80.0070.00617.35
8.1.70.0100.00517.36
8.1.60.0090.00617.35
8.1.50.0070.00817.26
8.1.40.0090.00617.39
8.1.30.0090.00417.46
8.1.20.0100.00417.43
8.1.10.0070.00817.36
8.1.00.0040.01017.23
8.0.300.0070.00019.68
8.0.290.0000.00816.63
8.0.280.0000.00818.31
8.0.270.0040.00416.64
8.0.260.0020.00517.42
8.0.250.0020.00616.80
8.0.240.0000.00816.74
8.0.230.0080.00416.65
8.0.220.0120.00316.60
8.0.210.0110.00316.68
8.0.200.0110.00516.79
8.0.190.0150.00116.72
8.0.180.0150.00016.66
8.0.170.0080.00816.64
8.0.160.0110.00516.69
8.0.150.0100.00316.69
8.0.140.0150.00016.72
8.0.130.0100.00516.66
8.0.120.0060.00916.73
8.0.110.0090.00616.66
8.0.100.0130.00216.68
8.0.90.0100.00416.67
8.0.80.0060.00916.60
8.0.70.0100.00416.66
8.0.60.0050.00616.62
8.0.50.0030.00916.62
8.0.30.0110.00116.65
8.0.20.0090.00416.73
8.0.10.0100.00216.73
7.4.330.0070.00314.14
7.4.320.0060.00616.31
7.4.300.0110.00216.33
7.4.290.0130.00416.35
7.4.280.0130.00216.39
7.4.270.0110.00216.39
7.4.260.0070.00716.20
7.4.250.0160.00216.25
7.4.240.0120.00516.34
7.4.230.0100.00616.31
7.4.220.0070.00516.28
7.4.210.0090.00516.35
7.4.200.0090.00416.38
7.4.190.0120.00216.42
7.4.180.0110.00416.42
7.4.160.0110.00416.34
7.4.150.0070.00516.27
7.4.140.0070.00516.13
7.4.130.0080.00416.02
7.4.120.0130.00016.11
7.4.110.0070.00516.08
7.4.100.0100.00216.30
7.4.90.0100.00316.18
7.4.80.0120.00216.18
7.4.70.0120.00216.24
7.4.60.0100.00416.25
7.4.50.0060.00716.06
7.4.40.0100.00316.09
7.4.30.0030.00816.13
7.4.20.0080.00316.19
7.4.10.0110.00416.26
7.4.00.0120.00016.16

preferences:
41.68 ms | 403 KiB | 5 Q