3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo Whatever::class, PHP_EOL, "Yep, I can do this too!"::class;

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.5.00.0090.01319.81
8.4.150.0010.00114.05
8.4.140.0120.01017.41
8.4.130.0110.00717.52
8.4.120.0150.00420.47
8.4.110.0110.00918.55
8.4.100.0140.00617.76
8.4.90.0100.00920.53
8.4.80.0120.00518.59
8.4.70.0120.00820.65
8.4.60.0140.00720.37
8.4.50.0020.00620.66
8.4.40.0130.00720.67
8.4.30.0060.01321.81
8.4.20.0150.00619.34
8.4.10.0080.00021.95
8.3.280.0020.00014.05
8.3.270.0120.00916.37
8.3.260.0040.00716.65
8.3.250.0110.00819.04
8.3.240.0160.00316.37
8.3.230.0100.00916.59
8.3.220.0050.00318.92
8.3.210.0050.00316.73
8.3.200.0060.00316.70
8.3.190.0100.00917.12
8.3.180.0090.00618.81
8.3.170.0090.00016.87
8.3.160.0100.00317.18
8.3.150.0130.00717.23
8.3.140.0140.00416.65
8.3.130.0060.00316.42
8.3.120.0090.00020.68
8.3.110.0060.00320.94
8.3.100.0060.00318.48
8.3.90.0110.00426.77
8.3.80.0050.00517.97
8.3.70.0090.00618.47
8.3.60.0120.00616.49
8.3.50.0070.00716.38
8.3.40.0030.01023.66
8.3.30.0070.00718.47
8.3.20.0080.00024.18
8.3.10.0070.00024.66
8.3.00.0040.00426.16
8.2.290.0090.01016.56
8.2.280.0100.00818.15
8.2.270.0150.00318.66
8.2.260.0090.00516.37
8.2.250.0150.00417.10
8.2.240.0000.00917.15
8.2.230.0030.00522.58
8.2.220.0080.00024.06
8.2.210.0120.00326.77
8.2.200.0080.00016.50
8.2.190.0100.00316.63
8.2.180.0060.01416.50
8.2.170.0040.01118.84
8.2.160.0100.00322.96
8.2.150.0000.00725.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00420.70
8.2.110.0050.00521.03
8.2.100.0000.01217.72
8.2.90.0050.00318.20
8.2.80.0000.00718.02
8.2.70.0060.00317.50
8.2.60.0110.00517.19
8.2.50.0130.00417.19
8.2.40.0120.00417.30
8.2.30.0110.00417.33
8.2.20.0070.00517.34
8.2.10.0100.00717.28
8.2.00.0120.00517.22
8.1.330.0110.00815.80
8.1.320.0070.00717.75
8.1.310.0050.00316.60
8.1.300.0040.00415.94
8.1.290.0040.00430.84
8.1.280.0150.00025.92
8.1.270.0000.00724.66
8.1.260.0090.00026.35
8.1.250.0070.00028.09
8.1.240.0110.00020.55
8.1.230.0040.00720.85
8.1.220.0060.00317.74
8.1.210.0060.00318.77
8.1.200.0030.00617.22
8.1.190.0130.00416.96
8.1.180.0120.00416.93
8.1.170.0110.00716.94
8.1.160.0090.00716.97
8.1.150.0110.00616.96
8.1.140.0120.00416.99
8.1.130.0150.00317.13
8.1.120.0100.00716.96
8.1.110.0140.00317.12
8.1.100.0120.00516.95
8.1.90.0090.00917.02
8.1.80.0110.00517.09
8.1.70.0120.00417.11
8.1.60.0130.00617.15
8.1.50.0130.00516.87
8.1.40.0140.00317.28
8.1.30.0130.00517.09
8.1.20.0120.00717.20
8.1.10.0140.00417.12
8.1.00.0140.00517.08
8.0.300.0030.00519.61
8.0.290.0030.00616.58
8.0.280.0130.00416.55
8.0.270.0120.00416.52
8.0.260.0130.00516.52
8.0.250.0150.00116.52
8.0.240.0110.00416.52
8.0.230.0100.00716.52
8.0.220.0140.00216.52
8.0.210.0120.00416.52
8.0.200.0140.00216.55
8.0.190.0110.00616.52
8.0.180.0150.00116.55
8.0.170.0110.00516.55
8.0.160.0130.00416.55
8.0.150.0130.00516.55
8.0.140.0130.00416.52
8.0.130.0090.00716.55
8.0.120.0090.00716.52
8.0.110.0130.00316.52
8.0.100.0090.00616.52
8.0.90.0120.00416.52
8.0.80.0110.00516.52
8.0.70.0110.00416.52
8.0.60.0090.00616.52
8.0.50.0140.00216.52
8.0.30.0130.00316.52
8.0.20.0110.00516.52
8.0.10.0110.00416.71
7.4.330.0050.00416.52
7.0.320.0150.00617.79
7.0.00.0190.00717.62
5.6.400.0080.00516.58
5.6.50.0060.00516.57
5.5.370.0150.00316.70
5.4.450.0050.00314.16
5.3.290.0100.00414.16

preferences:
105.75 ms | 403 KiB | 5 Q