3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = []; $array["01000"] = "Bourg-en-Bresse"; $array["75001"] = "Paris"; var_dump($array);

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.30.0070.01018.04
8.5.20.0090.00820.09
8.5.10.0090.00916.45
8.5.00.0060.01419.90
8.4.180.0140.00722.16
8.4.170.0110.01223.79
8.4.160.0100.01123.80
8.4.150.0060.00716.88
8.4.140.0100.01117.49
8.4.130.0200.00517.54
8.4.120.0230.00918.97
8.4.110.0240.00918.20
8.4.100.0250.00617.51
8.4.90.0240.00817.77
8.4.80.0260.01017.61
8.4.70.0280.01017.70
8.4.60.0440.00217.52
8.4.50.0410.00717.55
8.4.40.0320.00817.35
8.4.30.0420.00817.26
8.4.20.0440.00717.32
8.4.10.0420.01117.29
8.3.300.0100.01020.59
8.3.290.0150.00520.60
8.3.280.0120.00918.31
8.3.270.0230.00916.28
8.3.260.0270.00616.47
8.3.250.0220.00917.69
8.3.240.0210.01016.53
8.3.230.0210.01116.39
8.3.220.0260.01016.77
8.3.210.0280.00616.71
8.3.200.0360.00916.69
8.3.190.0390.01016.77
8.3.180.0310.00916.84
8.3.170.0320.00516.78
8.3.160.0340.00616.65
8.3.150.0400.00816.67
8.3.140.0400.00616.70
8.3.130.0370.00616.79
8.3.120.0360.00616.69
8.3.110.0320.01116.55
8.3.100.0400.00716.73
8.3.90.0370.01016.49
8.3.80.0390.01016.44
8.3.70.0390.00916.69
8.3.60.0330.00616.57
8.3.50.0390.00916.65
8.3.40.0410.01017.48
8.3.30.0290.00917.27
8.3.20.0300.00917.38
8.3.10.0310.00617.35
8.3.00.0320.00717.29
8.2.300.0110.00917.87
8.2.290.0220.00617.60
8.2.280.0280.01116.72
8.2.270.0370.00616.78
8.2.260.0370.00516.82
8.2.250.0310.01016.58
8.2.240.0330.00716.71
8.2.230.0300.00916.65
8.2.220.0350.00416.81
8.2.210.0300.00816.71
8.2.200.0360.00616.83
8.2.190.0390.00816.67
8.2.180.0300.00716.72
8.2.170.0300.00817.56
8.2.160.0260.00617.43
8.2.150.0320.00917.52
8.2.140.0320.00817.65
8.2.130.0340.00717.45
8.2.120.0330.00817.53
8.2.110.0300.01017.47
8.2.100.0320.00717.47
8.2.90.0330.00717.52
8.2.80.0350.00417.38
8.2.70.0300.01017.45
8.2.60.0280.01317.42
8.2.50.0320.00717.39
8.2.40.0300.00817.34
8.2.30.0330.00917.45
8.2.20.0330.00617.32
8.2.10.0360.00617.48
8.2.00.0310.01017.21
8.1.340.0100.01017.64

preferences:
55.26 ms | 846 KiB | 5 Q