3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array( array( "users" => array( "email" => "test@yahoo.com ,testuser@yahoo.com" , "username" => "test,testuser", "description" => "description1,description2" ), ), ); foreach($array as $users) { foreach($users as $value) { $users['users']["email"] = explode(",", $value['email']); $users['users']["username"] = explode(",", $value['username']); $users['users']["description"] = explode(",", $value['description']); } } print_r($value);

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.60.0040.01216.62
8.3.50.0090.00521.92
8.3.40.0110.00418.58
8.3.30.0070.00719.27
8.3.20.0040.00420.35
8.3.10.0040.00423.53
8.3.00.0040.00419.18
8.2.180.0090.00918.11
8.2.170.0070.01022.96
8.2.160.0100.00320.38
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0130.00326.16
8.2.120.0090.00622.25
8.2.110.0100.00019.35
8.2.100.0040.00817.84
8.2.90.0080.00019.27
8.2.80.0000.00817.97
8.2.70.0030.00517.75
8.2.60.0000.00818.05
8.2.50.0040.00418.10
8.2.40.0000.00818.16
8.2.30.0040.00418.21
8.2.20.0030.00617.76
8.2.10.0040.00418.05
8.2.00.0030.00617.75
8.1.280.0120.00625.92
8.1.270.0040.00422.22
8.1.260.0050.00226.35
8.1.250.0000.00728.09
8.1.240.0100.01023.89
8.1.230.0080.00417.64
8.1.220.0030.00517.74
8.1.210.0030.00618.77
8.1.200.0060.00317.35
8.1.190.0060.00317.35
8.1.180.0030.00518.10
8.1.170.0060.00318.61
8.1.160.0040.00422.08
8.1.150.0000.00918.70
8.1.140.0000.00717.38
8.1.130.0030.00317.79
8.1.120.0000.00717.37
8.1.110.0000.00817.54
8.1.100.0080.00017.36
8.1.90.0030.00317.45
8.1.80.0070.00017.38
8.1.70.0070.00017.39
8.1.60.0000.00817.48
8.1.50.0000.00717.48
8.1.40.0000.00817.45
8.1.30.0040.00417.57
8.1.20.0040.00417.57
8.1.10.0030.00517.38
8.1.00.0040.00417.34
8.0.300.0030.00718.77
8.0.290.0060.00316.75
8.0.280.0030.00318.33
8.0.270.0040.00417.23
8.0.260.0070.00016.75
8.0.250.0000.00716.97
8.0.240.0030.00316.94
8.0.230.0070.00016.91
8.0.220.0030.00316.89
8.0.210.0000.00716.93
8.0.200.0000.00716.89
8.0.190.0040.00416.94
8.0.180.0000.00816.82
8.0.170.0000.00817.01
8.0.160.0030.00316.96
8.0.150.0090.00316.75
8.0.140.0080.00016.90
8.0.130.0050.00013.34
8.0.120.0060.00316.76
8.0.110.0000.00716.89
8.0.100.0000.00716.78
8.0.90.0040.00416.76
8.0.80.0090.00616.89
8.0.70.0050.00216.79
8.0.60.0070.00016.68
8.0.50.0040.00416.91
8.0.30.0160.00517.05
8.0.20.0060.01317.40
8.0.10.0040.00416.98
8.0.00.0130.00616.88
7.4.330.0000.00615.18
7.4.320.0000.00616.62
7.4.300.0030.00316.56
7.4.290.0070.00016.52
7.4.280.0050.00516.56
7.4.270.0030.00316.51
7.4.260.0070.00016.59
7.4.250.0000.00716.55
7.4.240.0030.00516.55
7.4.230.0070.00016.68
7.4.220.0090.00916.51
7.4.210.0060.01016.65
7.4.200.0030.00316.43
7.4.190.0000.00716.73
7.4.160.0070.01016.64
7.4.150.0130.00317.40
7.4.140.0090.01117.86
7.4.130.0050.01216.66
7.4.120.0160.00416.50
7.4.110.0110.00616.52
7.4.100.0070.01116.55
7.4.90.0080.01516.71
7.4.80.0080.01219.39
7.4.70.0110.00716.48
7.4.60.0160.00016.49
7.4.50.0050.00316.13
7.4.40.0060.00822.77
7.4.30.0080.01216.39
7.4.00.0000.01415.14
7.3.330.0000.00513.25
7.3.320.0030.00313.18
7.3.310.0040.00416.26
7.3.300.0070.00016.32
7.3.290.0070.00716.37
7.3.280.0080.01016.35
7.3.270.0160.00017.40
7.3.260.0120.00616.54
7.3.250.0080.01116.55
7.3.240.0060.00916.43
7.3.230.0060.01216.39
7.3.210.0110.00716.22
7.3.200.0120.00619.39
7.3.190.0030.01516.37
7.3.180.0040.01216.69
7.3.170.0120.00316.73
7.3.160.0000.01616.36
7.3.120.0040.01114.65
7.2.330.0070.01016.50
7.2.320.0170.00616.72
7.2.310.0130.00716.66
7.2.300.0120.00616.46
7.2.290.0070.01316.73
7.2.00.0030.01419.49
7.1.100.0110.00018.12
7.1.70.0000.00817.24
7.1.60.0070.01719.33
7.1.50.0030.01017.11
7.1.00.0030.07322.43
7.0.200.0040.00416.88
7.0.140.0030.07721.97
7.0.60.0070.04719.90
7.0.50.0070.04317.80
7.0.40.0070.04020.24
7.0.30.0270.04020.09
7.0.20.0100.04720.21
7.0.10.0100.05320.12
7.0.00.0130.05720.19
5.6.280.0070.07020.81
5.6.210.0130.05020.56
5.6.200.0130.04318.17
5.6.190.0030.07720.56
5.6.180.0270.07720.49
5.6.170.0270.07720.51
5.6.160.0000.06020.63
5.6.150.0000.04318.15
5.6.140.0130.06718.18
5.6.130.0070.05718.22
5.6.120.0100.04720.89
5.6.110.0070.07021.11
5.6.100.0030.08321.00
5.6.90.0100.04720.98
5.6.80.0030.03720.34
5.5.350.0330.07320.50
5.5.340.0100.05717.92
5.5.330.0100.07720.23
5.5.320.0370.06020.17
5.5.310.0400.07320.29
5.5.300.0070.08018.00
5.5.290.0100.07317.89
5.5.280.0030.04020.80
5.5.270.0070.07020.95
5.5.260.0130.08020.72
5.5.250.0000.07720.61
5.5.240.0000.08020.20
5.4.450.0230.05019.47
5.4.440.0200.05019.54
5.4.430.0200.04719.52
5.4.420.0130.05319.27
5.4.410.0030.05718.70
5.4.400.0400.07018.78
5.4.390.0430.07318.68
5.4.380.0200.05018.57
5.4.370.0070.05318.70
5.4.360.0100.03318.45
5.4.350.0040.03811.98
5.4.340.0090.07811.97
5.4.320.0050.04112.46
5.4.310.0040.03912.45
5.4.300.0050.03812.46
5.4.290.0040.04512.45
5.4.280.0070.03512.32
5.4.270.0060.03712.32
5.4.260.0090.03812.32
5.4.250.0110.03512.32
5.4.240.0080.03612.32
5.4.230.0070.04412.31
5.4.220.0110.03712.32
5.4.210.0140.04112.32
5.4.200.0130.04812.31
5.4.190.0110.04212.31
5.4.180.0110.04512.31
5.4.170.0110.04912.32
5.4.160.0170.04812.32
5.4.150.0080.03812.32
5.4.140.0190.04212.00
5.4.130.0050.04011.99
5.4.120.0120.04811.95
5.4.110.0080.04411.94
5.4.100.0100.04011.95
5.4.90.0080.04611.94
5.4.80.0140.04511.94
5.4.70.0090.03611.93
5.4.60.0120.04111.94
5.4.50.0100.05011.93
5.4.40.0100.04511.93
5.4.30.0110.04611.93
5.4.20.0100.05111.92
5.4.10.0060.04811.92
5.4.00.0070.05011.41
5.3.290.0050.04112.80
5.3.280.0080.03912.71
5.3.270.0070.04012.72
5.3.260.0070.04412.72
5.3.250.0130.03812.72
5.3.240.0100.03612.72
5.3.230.0070.04712.71
5.3.220.0030.04012.68
5.3.210.0050.04112.68
5.3.200.0080.03512.68
5.3.190.0070.04912.67
5.3.180.0040.04312.68
5.3.170.0080.04212.67
5.3.160.0090.04512.68
5.3.150.0060.03912.67
5.3.140.0050.03912.66
5.3.130.0090.03712.66
5.3.120.0060.04412.66
5.3.110.0110.03712.66
5.3.100.0070.03612.12
5.3.90.0070.04012.09
5.3.80.0060.03912.07
5.3.70.0080.03712.07
5.3.60.0050.04112.06
5.3.50.0080.04012.00
5.3.40.0080.04012.00
5.3.30.0140.04711.94
5.3.20.0070.03611.71
5.3.10.0070.03411.67
5.3.00.0050.04011.66
5.2.170.0050.0359.16
5.2.160.0090.0389.16
5.2.150.0110.0409.15
5.2.140.0100.0299.15
5.2.130.0060.0329.11
5.2.120.0100.0359.11
5.2.110.0100.0359.12
5.2.100.0070.0399.12
5.2.90.0040.0389.12
5.2.80.0050.0319.12
5.2.70.0070.0399.11
5.2.60.0050.0359.06
5.2.50.0090.0399.03
5.2.40.0060.0309.00
5.2.30.0060.0318.98
5.2.20.0110.0268.97
5.2.10.0030.0328.91
5.2.00.0070.0368.77
5.1.60.0040.0258.05
5.1.50.0060.0248.05
5.1.40.0040.0258.03
5.1.30.0040.0278.37
5.1.20.0050.0288.40
5.1.10.0080.0258.13
5.1.00.0050.0288.12
5.0.50.0030.0226.60
5.0.40.0080.0196.46
5.0.30.0050.0336.28
5.0.20.0020.0226.24
5.0.10.0050.0206.23
5.0.00.0060.0306.21
4.4.90.0070.0194.78
4.4.80.0050.0204.76
4.4.70.0020.0174.76
4.4.60.0040.0144.75
4.4.50.0030.0154.77
4.4.40.0030.0284.71
4.4.30.0060.0124.76
4.4.20.0020.0174.84
4.4.10.0040.0194.84
4.4.00.0050.0244.76
4.3.110.0020.0174.67
4.3.100.0060.0144.67
4.3.90.0060.0204.63
4.3.80.0050.0334.58
4.3.70.0040.0154.63
4.3.60.0070.0184.63
4.3.50.0030.0174.63
4.3.40.0040.0244.53
4.3.30.0020.0173.27
4.3.20.0030.0213.26
4.3.10.0030.0163.21
4.3.00.0000.0237.13

preferences:
33.48 ms | 401 KiB | 5 Q