3v4l.org

run code in 300+ PHP versions simultaneously
<?php function x(): true { return true; }

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.4.120.0120.00820.41
8.4.110.0110.00818.93
8.4.100.0100.01218.84
8.4.90.0100.00120.50
8.4.80.0100.01018.85
8.4.70.0140.00518.83
8.4.60.0030.00518.77
8.4.50.0100.00918.44
8.4.40.0110.00717.90
8.4.30.0000.00920.51
8.4.20.0120.00919.55
8.4.10.0030.00922.06
8.3.250.0070.00217.21
8.3.240.0120.00616.68
8.3.230.0160.00416.30
8.3.220.0060.00119.01
8.3.210.0090.01016.27
8.3.200.0060.00316.44
8.3.190.0090.00517.05
8.3.180.0070.00718.67
8.3.170.0050.00318.44
8.3.160.0070.01016.98
8.3.150.0140.00716.88
8.3.140.0070.01120.59
8.3.130.0040.00418.44
8.3.120.0050.00520.62
8.3.110.0060.00318.23
8.3.100.0030.00618.39
8.3.50.0040.00418.31
8.2.290.0110.00820.40
8.2.280.0120.00718.43
8.2.270.0060.01218.14
8.2.260.0040.00416.43
8.2.250.0040.01116.79
8.2.240.0070.01116.96
8.2.230.0120.00618.32
8.2.220.0120.00318.11
8.1.330.0110.00621.86
8.1.320.0030.00516.04
8.1.310.0090.00616.05
8.1.300.0120.00420.25
8.1.110.0060.00617.31
8.1.100.0130.00417.33
8.1.90.0130.00417.24
8.1.80.0120.00617.14
8.1.70.0120.00617.24
8.1.60.0130.00717.27
8.1.50.0210.00017.40
8.1.40.0160.00317.38
8.1.30.0140.00417.41
8.1.20.0150.00717.40
8.1.10.0110.00817.35
8.1.00.0120.00617.21
8.0.240.0100.00016.87
8.0.230.0120.00316.82
8.0.220.0030.01316.79
8.0.210.0170.00016.82
8.0.200.0170.00016.72
8.0.190.0110.00816.74
8.0.180.0160.00016.77
8.0.170.0110.00216.72
8.0.160.0040.00916.84
8.0.150.0070.00716.76
8.0.140.0090.00316.67
8.0.130.0150.00016.67
8.0.120.0110.00416.68
8.0.110.0100.00516.73
8.0.100.0100.00616.82
8.0.90.0070.00916.70
8.0.80.0160.00016.74
8.0.70.0120.00416.75
8.0.60.0100.00716.78
8.0.50.0120.00316.74
8.0.30.0170.00016.78
8.0.20.0110.00616.83
8.0.10.0160.00016.93
7.4.320.0100.00316.34
7.4.300.0100.00016.31
7.4.290.0140.00316.42
7.4.280.0060.00616.41
7.4.270.0090.00916.47
7.4.260.0080.00816.21
7.4.250.0170.00016.35
7.4.240.0100.00716.40
7.4.230.0070.00716.36
7.4.220.0030.01016.50
7.4.210.0070.00316.43
7.4.200.0000.00916.42
7.4.190.0130.00016.47
7.4.180.0120.00016.25
7.4.160.0030.01016.41
7.4.150.0150.00016.27
7.4.140.0060.00916.24
7.4.130.0070.00716.12
7.4.120.0140.00216.28
7.4.110.0060.00916.18
7.4.100.0040.01216.51
7.4.90.0130.00316.15
7.4.80.0100.00616.34
7.4.70.0110.00316.30
7.4.60.0110.00416.23
7.4.50.0090.00616.09
7.4.40.0100.00516.27
7.4.30.0100.00316.21
7.4.20.0130.00216.32
7.4.10.0140.00016.13
7.4.00.0090.00616.29

preferences:
26.38 ms | 403 KiB | 5 Q