3v4l.org

run code in 500+ PHP versions simultaneously
<?php $pref = "東京"; switch($pref) { case "東京": case "千葉": case "神奈川": echo "関東です"; default: echo "該当なし"; }

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.100.0050.00416.58
8.5.90.0070.00216.68
8.5.80.0070.00716.88
8.5.70.0090.00716.65
8.5.60.0080.00916.69
8.5.50.0070.00116.64
8.5.40.0070.00516.52
8.5.30.0110.00616.69
8.5.20.0090.00516.69
8.5.10.0080.00916.65
8.5.00.0080.00416.61
8.4.250.0070.00919.46
8.4.240.0130.00819.42
8.4.230.0080.01019.47
8.4.220.0090.00519.68
8.4.210.0110.00919.54
8.4.200.0100.00819.57
8.4.190.0070.00219.55
8.4.180.0110.00619.59
8.4.170.0070.00319.62
8.4.160.0120.00619.62
8.4.150.0120.00819.68
8.4.140.0070.00417.66
8.4.130.0110.00817.75
8.4.120.0060.00617.78
8.4.110.0090.01017.96
8.4.100.0130.00717.77
8.4.90.0110.00517.68
8.4.80.0110.00817.76
8.4.70.0090.00817.72
8.4.60.0090.00417.80
8.4.50.0140.00617.84
8.4.40.0070.00517.64
8.4.30.0040.00417.86
8.4.20.0040.00517.85
8.4.10.0050.00417.83
8.3.330.0080.00818.38
8.3.320.0070.00318.33
8.3.310.0030.00618.28
8.3.300.0060.00718.25
8.3.290.0040.00618.39
8.3.280.0040.00518.38
8.3.270.0070.00816.46
8.3.260.0080.00616.57
8.3.250.0090.00516.49
8.3.240.0060.00816.57
8.3.230.0040.00616.57
8.3.220.0040.00416.57
8.3.210.0080.00716.62
8.3.200.0050.00416.61
8.3.190.0040.00416.61
8.3.180.0070.01116.63
8.3.170.0090.00916.63
8.3.160.0070.00216.65
8.3.150.0100.00616.62
8.3.140.0080.00616.62
8.3.130.0080.00616.55
8.3.120.0080.00516.53
8.3.110.0070.00216.56
8.3.100.0090.00316.59
8.3.90.0060.00316.66
8.3.80.0050.00316.54
8.3.70.0060.01216.68
8.3.60.0080.00716.55
8.3.50.0040.00816.67
8.3.40.0120.00717.96
8.3.30.0100.00917.96
8.3.20.0060.00617.91
8.3.10.0040.00618.06
8.3.00.0060.00317.91
8.2.330.0040.00518.02
8.2.320.0060.00218.00
8.2.310.0060.00218.02

preferences:
50.22 ms | 786 KiB | 5 Q