3v4l.org

run code in 500+ PHP versions simultaneously
<?php switch ($a) {} match($b) {}; ?>

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.60.0110.00616.95
8.5.50.0090.00716.88
8.5.30.0100.00619.67
8.5.20.0090.00920.05
8.5.10.0120.00816.93
8.5.00.0110.01020.00
8.4.210.0040.00521.49
8.4.180.0130.00820.47
8.4.170.0150.00621.93
8.4.160.0030.00723.95
8.4.150.0060.00616.94
8.4.140.0130.01017.79
8.4.130.0110.01017.98
8.4.120.0160.00320.55
8.4.110.0120.00722.38
8.4.100.0040.00717.95
8.4.90.0110.01017.93
8.4.80.0330.00918.88
8.4.70.0390.01017.88
8.4.60.0380.00617.79
8.4.50.0370.00917.61
8.4.40.0400.01017.44
8.4.30.0420.01117.55
8.4.20.0430.00717.64
8.4.10.0470.00617.66
8.3.300.0130.00720.80
8.3.290.0120.00820.70
8.3.280.0080.01218.44
8.3.270.0130.00616.20
8.3.260.0120.00916.29
8.3.250.0090.01018.84
8.3.240.0120.00716.64
8.3.230.0060.00216.70
8.3.220.0310.00918.65
8.3.210.0310.00616.97
8.3.200.0390.00716.97
8.3.190.0400.00516.97
8.3.180.0370.01116.97
8.3.170.0410.00816.97
8.3.160.0340.00716.97
8.3.150.0410.00816.97
8.3.140.0430.00716.97
8.3.130.0450.00716.97
8.3.120.0350.00916.97
8.3.110.0370.00916.97
8.3.100.0380.01016.97
8.3.90.0410.00916.97
8.3.80.0260.00616.97
8.3.70.0410.00916.97
8.3.60.0350.00516.97
8.3.50.0380.01316.97
8.3.40.0530.00417.36
8.3.30.0370.01017.64
8.3.20.0370.00917.36
8.3.10.0310.00917.47
8.3.00.0080.00919.05
8.2.300.0130.00620.17
8.2.290.0090.01020.28
8.2.280.0110.00716.97
8.2.270.0210.00316.97
8.2.260.0140.00516.97
8.2.250.0150.00516.97
8.2.240.0180.00316.97
8.2.230.0170.00316.97
8.2.220.0310.00816.97
8.2.210.0380.00616.97
8.2.200.0340.00616.97
8.2.190.0270.01316.97
8.2.180.0330.00516.97
8.2.170.0310.00917.63
8.2.160.0330.00717.45
8.2.150.0350.00817.54
8.2.140.0330.00917.39
8.2.130.0350.00817.49
8.2.120.0440.00617.43
8.2.110.0340.00717.59
8.2.100.0290.00617.32
8.2.90.0400.00417.63
8.2.80.0360.00917.52
8.2.70.0320.00317.33
8.2.60.0360.00717.32
8.2.50.0370.00717.35
8.2.40.0330.00817.59
8.2.30.0230.00617.56
8.2.20.0400.00717.40
8.2.10.0300.01117.29
8.2.00.0320.00917.43
8.1.340.0120.00820.24

preferences:
59.3 ms | 859 KiB | 5 Q