3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { public $bar = <<<EOT bar EOT; } ?>

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.0140.00018.43
8.3.50.0150.01221.94
8.3.40.0040.01118.52
8.3.30.0060.00918.79
8.3.20.0090.00620.21
8.3.10.0080.00023.58
8.3.00.0070.00021.02
8.2.180.0120.00618.16
8.2.170.0100.00322.96
8.2.160.0030.01220.38
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0180.00026.16
8.2.120.0040.00419.23
8.2.110.0060.00322.20
8.2.100.0070.00420.53
8.2.90.0070.00019.12
8.2.80.0000.00817.97
8.2.70.0040.00417.50
8.2.60.0080.00317.55
8.2.50.0060.00318.07
8.2.40.0070.00518.03
8.2.30.0040.00418.18
8.2.20.0070.00717.54
8.2.10.0000.00717.86
8.2.00.0040.00417.42
8.1.280.0140.00425.92
8.1.270.0040.00423.96
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0090.00022.04
8.1.230.0030.00718.98
8.1.220.0000.00817.74
8.1.210.0030.00518.77
8.1.200.0060.00317.22
8.1.190.0040.00416.75
8.1.180.0040.00418.10
8.1.170.0040.00418.46
8.1.160.0040.00421.88
8.1.150.0050.00218.54
8.1.140.0040.00417.32
8.1.130.0000.00817.75
8.1.120.0040.00417.35
8.1.110.0040.00417.25
8.1.100.0040.00417.34
8.1.90.0040.00417.18
8.1.80.0000.00717.19
8.1.70.0000.00717.29
8.1.60.0030.00617.46
8.1.50.0040.00417.28
8.1.40.0040.00417.40
8.1.30.0090.00017.38
8.1.20.0070.00017.45
8.1.10.0040.00417.27
8.1.00.0040.00417.30
8.0.300.0030.00618.77
8.0.290.0040.00416.58
8.0.280.0030.00318.30
8.0.270.0070.00017.13
8.0.260.0060.00017.11
8.0.250.0030.00316.86
8.0.240.0060.00316.84
8.0.230.0040.00316.88
8.0.220.0000.00716.82
8.0.210.0060.00016.70
8.0.200.0030.00316.84
8.0.190.0000.00816.83
8.0.180.0040.00416.76
8.0.170.0030.00516.85
8.0.160.0000.00716.77
8.0.150.0030.00516.66
8.0.140.0030.00616.77
8.0.130.0030.00313.29
8.0.120.0000.00816.77
8.0.110.0030.00516.88
8.0.100.0080.00016.88
8.0.90.0030.00416.60
8.0.80.0040.01816.80
8.0.70.0040.00416.85
8.0.60.0040.00416.78
8.0.50.0040.00416.88
8.0.30.0130.00916.95
8.0.20.0100.00717.40
8.0.10.0040.00416.93
8.0.00.0050.01316.58
7.4.330.0030.00315.00
7.4.320.0040.00416.45
7.4.300.0060.00016.42
7.4.290.0100.00016.39
7.4.280.0000.00816.37
7.4.270.0000.00716.30
7.4.260.0040.00416.25
7.4.250.0030.00516.28
7.4.240.0050.00216.30
7.4.230.0030.00316.28
7.4.220.0130.00416.38
7.4.210.0070.00716.54
7.4.200.0080.00016.45
7.4.160.0120.00816.31
7.4.150.0060.01217.40
7.4.140.0120.00817.86
7.4.130.0100.01016.43
7.4.120.0050.01416.37
7.4.110.0090.00916.40
7.4.100.0110.01016.35
7.4.90.0130.00316.46
7.4.80.0140.01019.39
7.4.70.0030.01216.27
7.4.60.0070.01116.44
7.4.50.0060.00316.34
7.4.40.0120.00316.36
7.4.30.0100.00616.31
7.3.330.0000.00513.10
7.3.320.0030.00313.23
7.3.310.0030.00316.05
7.3.300.0030.00316.23
7.3.290.0070.00716.19
7.3.280.0090.00916.22
7.3.270.0100.00717.40
7.3.260.0280.03716.24
7.3.250.0060.01016.29
7.3.240.0070.00916.28
7.3.230.0090.00616.39
7.3.210.0160.00316.30
7.3.200.0170.01119.39
7.3.190.0120.01216.28
7.3.180.0030.01316.16
7.3.170.0060.01016.43
7.3.160.0070.01416.48
7.2.330.0060.01016.22
7.2.320.0130.00316.36
7.2.310.0200.00316.50
7.2.300.0120.00416.11
7.2.290.0070.01016.33
5.4.240.0180.04812.38
5.4.230.0130.05312.38
5.4.220.0190.04612.38
5.4.210.0120.05012.38
5.4.200.0130.05212.38
5.4.190.0260.08312.37
5.4.180.0160.04112.37
5.4.170.0260.06312.38
5.4.160.0190.04412.37
5.4.150.0140.04112.37
5.4.140.0240.06712.06
5.4.130.0150.04912.05
5.4.120.0140.04912.01
5.4.110.0190.06012.00
5.4.100.0170.03812.00
5.4.90.0130.04612.00
5.4.80.0130.04212.00
5.4.70.0160.04612.00
5.4.60.0230.06212.00
5.4.50.0150.04712.00
5.4.40.0150.04411.99
5.4.30.0120.04211.99
5.4.20.0160.05311.98
5.4.10.0110.04311.98
5.4.00.0120.04611.48
5.3.280.0160.04412.71
5.3.270.0140.04912.72
5.3.260.0130.05012.72
5.3.250.0210.08912.72
5.3.240.0170.05112.72
5.3.230.0300.07212.71
5.3.220.0190.04912.68
5.3.210.0210.04112.68
5.3.200.0140.04412.68
5.3.190.0160.04512.67
5.3.180.0250.06712.67
5.3.170.0150.04712.67
5.3.160.0160.04912.67
5.3.150.0110.04312.67
5.3.140.0140.04112.66
5.3.130.0150.04612.66
5.3.120.0260.06112.66
5.3.110.0160.04112.65
5.3.100.0150.04612.12
5.3.90.0140.04612.09
5.3.80.0130.04512.08
5.3.70.0140.04212.08
5.3.60.0130.04112.07
5.3.50.0160.05412.01
5.3.40.0120.04712.01
5.3.30.0140.04211.96
5.3.20.0120.04311.74
5.3.10.0130.03711.71
5.3.00.0190.05011.69

preferences:
34.47 ms | 401 KiB | 5 Q