3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = Array ( 'one@gmail.com' => Array ( 0 => '70,80', 1 => '90,100' ) , 'two@gmail.com' => Array ( 0 => 10 ) ); foreach($array as $key=>$value){ echo "key: ".$key."\n"; echo "value: ".implode(' ',$value)."\n\n"; }

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.3.130.0080.00018.29
8.3.120.0040.00419.04
8.3.110.0030.01320.94
8.3.100.0090.00016.49
8.3.90.0030.01618.43
8.3.80.0030.00618.56
8.3.70.0100.01018.43
8.3.60.0170.00318.43
8.3.50.0110.00721.10
8.3.40.0150.00018.67
8.3.30.0070.00718.53
8.3.20.0060.00321.77
8.3.10.0060.00322.08
8.3.00.0000.00823.53
8.2.250.0030.00618.52
8.2.240.0040.01118.69
8.2.230.0100.00022.58
8.2.220.0080.00024.06
8.2.210.0080.01126.77
8.2.200.0060.00318.45
8.2.190.0110.01116.58
8.2.180.0100.01016.38
8.2.170.0060.01318.83
8.2.160.0060.00922.96
8.2.150.0000.00725.66
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0000.00721.00
8.2.110.0040.00722.20
8.2.100.0090.00317.91
8.2.90.0000.00817.78
8.2.80.0000.00817.97
8.2.70.0080.00017.78
8.2.60.0040.00418.03
8.2.50.0040.00418.10
8.2.40.0050.00321.14
8.2.30.0080.00019.18
8.2.20.0100.00017.96
8.2.10.0050.00319.23
8.2.00.0000.00820.54
8.1.300.0090.00317.72
8.1.290.0090.00018.88
8.1.280.0100.00625.92
8.1.270.0030.00523.99
8.1.260.0080.00026.35
8.1.250.0190.00028.09
8.1.240.0070.01023.92
8.1.230.0060.00622.75
8.1.220.0040.00417.78
8.1.210.0030.00620.10
8.1.200.0070.00417.35
8.1.190.0040.00417.00
8.1.180.0040.00418.10
8.1.170.0090.00018.41
8.1.160.0040.00418.85
8.1.150.0070.00018.92
8.1.140.0040.00422.17
8.1.130.0000.00820.01
8.1.120.0040.00417.47
8.1.110.0000.01117.48
8.1.100.0060.00317.41
8.1.90.0040.00417.46
8.1.80.0000.00717.43
8.1.70.0050.00317.34
8.1.60.0000.00817.46
8.1.50.0000.00717.43
8.1.40.0000.00817.52
8.1.30.0040.00417.52
8.1.20.0050.00317.60
8.1.10.0000.00717.45
8.1.00.0040.00417.42
8.0.300.0000.00720.04
8.0.290.0040.00416.63
8.0.280.0050.00218.44
8.0.270.0030.00317.30
8.0.260.0030.00320.13
8.0.250.0070.00316.92
8.0.240.0040.00416.91
8.0.230.0000.00717.00
8.0.220.0050.00516.87
8.0.210.0000.00616.88
8.0.200.0000.00816.94
8.0.190.0060.00316.93
8.0.180.0030.00616.92
8.0.170.0120.00516.78
8.0.160.0070.00017.00
8.0.150.0040.00416.84
8.0.140.0030.00516.80
8.0.130.0000.00713.34
8.0.120.0040.00416.84
8.0.110.0000.00716.84
8.0.100.0050.00216.84
8.0.90.0090.00016.97
8.0.80.0060.01316.95
8.0.70.0050.00316.95
8.0.60.0000.00716.99
8.0.50.0040.00416.77
8.0.30.0130.00617.07
8.0.20.0090.00917.11
8.0.10.0040.00416.97
8.0.00.0110.00616.64
7.4.330.0000.00615.55
7.4.320.0060.00016.43
7.4.300.0000.00716.59
7.4.290.0030.00316.54
7.4.280.0000.00716.40
7.4.270.0000.00716.55
7.4.260.0000.00716.50
7.4.250.0030.00316.36
7.4.240.0080.00016.52
7.4.230.0030.00316.60
7.4.220.0030.00316.71
7.4.210.0050.01016.54
7.4.200.0030.00316.60
7.4.130.0140.00316.43
7.4.120.0120.00616.63
7.4.110.0070.01116.55
7.4.100.0180.00016.43
7.4.90.0170.00016.50
7.4.80.0140.00919.39
7.4.70.0130.00716.52
7.4.60.0130.00316.50
7.4.50.0120.00316.25
7.4.40.0080.00816.50
7.4.00.0030.01214.96
7.3.330.0030.00313.19
7.3.320.0000.00613.15
7.3.310.0030.00316.35
7.3.300.0030.00316.25
7.3.290.0000.00616.31
7.3.280.0030.01316.20
7.3.260.0100.00816.41
7.3.240.0120.00516.38
7.3.230.0140.00416.20
7.3.210.0030.01416.38
7.3.200.0030.01416.12
7.3.190.0080.00816.34
7.3.180.0120.00316.49
7.3.170.0080.01116.19
7.3.160.0060.00916.32
7.3.120.0060.01214.76
7.3.110.0070.01114.71
7.3.100.0030.01014.48
7.3.90.0030.01415.06
7.3.80.0040.01114.53
7.3.70.0080.00614.71
7.3.60.0110.00414.86
7.3.50.0020.01314.81
7.3.40.0070.00614.53
7.3.30.0070.00514.70
7.3.20.0110.00816.69
7.3.10.0060.00616.56
7.3.00.0120.00316.81
7.2.330.0120.01116.55
7.2.320.0110.00716.58
7.2.310.0100.00616.67
7.2.300.0090.00916.66
7.2.290.0130.00816.65
7.2.250.0000.01914.61
7.2.240.0130.00314.88
7.2.230.0030.01614.96
7.2.220.0100.00715.20
7.2.210.0070.01015.04
7.2.200.0050.00914.90
7.2.190.0080.00415.09
7.2.180.0030.01214.95
7.2.170.0060.00415.01
7.2.160.0060.01614.71
7.2.150.0140.00716.71
7.2.140.0070.01516.73
7.2.130.0080.01516.61
7.2.120.0070.00716.87
7.2.110.0180.00416.72
7.2.100.0130.00316.84
7.2.90.0060.00616.96
7.2.80.0080.00416.79
7.2.70.0160.00616.92
7.2.60.0090.00616.72
7.2.50.0070.01016.77
7.2.40.0140.01016.80
7.2.30.0000.01316.94
7.2.20.0110.00416.87
7.2.10.0070.00716.68
7.2.00.0090.00616.93
7.1.330.0000.01415.84
7.1.320.0030.01515.68
7.1.310.0060.00315.73
7.1.300.0090.00515.70
7.1.290.0020.01215.77
7.1.280.0070.00615.77
7.1.270.0030.00815.70
7.1.260.0050.00715.79
7.1.250.0030.00915.76

preferences:
30.71 ms | 403 KiB | 5 Q