3v4l.org

run code in 500+ PHP versions simultaneously
<?php // very slow $total = @$x; // looks weird $total = $x ?? null; // lengthy if (!isset($x)) { $total = null; } else { $total = $x; } ?>

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.70.0110.00618.55
8.5.60.0100.01016.63
8.5.50.0140.00418.36
8.5.30.0070.01019.96
8.5.20.0100.00620.17
8.5.10.0100.00716.86
8.5.00.0110.00920.14
8.4.210.0110.00719.55
8.4.180.0140.00819.66
8.4.170.0150.00523.92
8.4.160.0110.01223.97
8.4.150.0080.00616.82
8.4.140.0120.00917.74
8.4.130.0120.00818.11
8.4.120.0070.00120.72
8.4.110.0040.00422.57
8.4.100.0120.00917.89
8.4.90.0130.00817.90
8.4.80.0090.00617.95
8.4.70.0040.00417.82
8.4.60.0350.01117.60
8.4.50.0370.01017.71
8.4.40.0400.01017.44
8.4.30.0350.01317.29
8.4.20.0400.00917.50
8.4.10.0430.00717.49
8.3.300.0110.00821.10
8.3.290.0050.00420.82
8.3.280.0120.01018.29
8.3.270.0120.00716.64
8.3.260.0130.00316.72
8.3.250.0070.00218.80
8.3.240.0040.00916.42
8.3.230.0140.00516.40
8.3.220.0130.00516.65
8.3.210.0050.00316.73
8.3.200.0390.00716.58
8.3.190.0450.00416.39
8.3.180.0480.00816.41
8.3.170.0380.01016.38
8.3.160.0350.00716.61
8.3.150.0320.01216.49
8.3.140.0370.00816.47
8.3.130.0310.01216.77
8.3.120.0330.00916.46
8.3.110.0300.01216.86
8.3.100.0370.01116.41
8.3.90.0360.01116.29
8.3.80.0450.00616.66
8.3.70.0370.00816.71
8.3.60.0360.00816.43
8.3.50.0390.00716.48
8.3.40.0380.00917.52
8.3.30.0240.01017.49
8.3.20.0290.00917.50
8.3.10.0240.01317.45
8.3.00.0270.01017.42
8.2.300.0110.00818.82
8.2.290.0040.00420.38
8.2.280.0310.00816.41
8.2.270.0300.00916.44
8.2.260.0340.00516.24
8.2.250.0290.01016.73
8.2.240.0350.00616.86
8.2.230.0320.00616.27
8.2.220.0260.00516.84
8.2.210.0210.00316.65
8.2.200.0310.00816.43
8.2.190.0340.00816.44
8.2.180.0370.00616.47
8.2.170.0350.00817.62
8.2.160.0340.01017.85
8.2.150.0340.00817.70
8.2.140.0310.01117.31
8.2.130.0320.01117.47
8.2.120.0300.00617.75
8.2.110.0210.00317.75
8.2.100.0380.00617.70
8.2.90.0300.01117.71
8.2.80.0280.01317.57
8.2.70.0330.01017.34
8.2.60.0310.01017.19
8.2.50.0380.00617.55
8.2.40.0330.00517.77
8.2.30.0350.00917.44
8.2.20.0310.01017.42
8.2.10.0330.01017.37
8.2.00.0280.01017.67
8.1.340.0130.00717.63

preferences:
52.61 ms | 844 KiB | 5 Q