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" ), ), array( "users" => array( "email" => "test@yahaaaoo.com ,testuser@yaaaahoo.com" , "username" => "tedddst,teddddtuser", "description" => "descr222iption1,des222cription2" ), ) ); 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.40.0110.00418.54
8.3.30.0040.01119.04
8.3.20.0040.00420.13
8.3.10.0080.00023.40
8.3.00.0040.00419.38
8.2.170.0120.00922.96
8.2.160.0070.00720.57
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0100.00626.16
8.2.120.0070.00022.08
8.2.110.0070.00322.27
8.2.100.0040.00717.71
8.2.90.0050.00319.19
8.2.80.0000.00817.97
8.2.70.0030.00617.38
8.2.60.0040.00417.93
8.2.50.0040.00419.47
8.2.40.0060.00318.12
8.2.30.0070.00018.14
8.2.20.0050.00317.66
8.2.10.0070.00018.17
8.2.00.0030.00617.85
8.1.270.0000.00823.87
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0040.00424.02
8.1.230.0070.00419.17
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0030.00617.36
8.1.190.0050.00317.63
8.1.180.0080.00018.10
8.1.170.0060.00318.50
8.1.160.0050.00221.93
8.1.150.0040.00418.63
8.1.140.0040.00417.43
8.1.130.0000.00717.88
8.1.120.0030.00517.44
8.1.110.0000.00717.48
8.1.100.0000.00717.36
8.1.90.0040.00417.35
8.1.80.0030.00317.45
8.1.70.0000.00717.44
8.1.60.0000.00917.54
8.1.50.0000.00817.61
8.1.40.0000.00817.48
8.1.30.0050.00317.56
8.1.20.0040.00417.57
8.1.10.0000.00717.41
8.1.00.0000.00717.41
8.0.300.0050.00318.77
8.0.290.0040.00417.18
8.0.280.0030.00318.33
8.0.270.0000.00717.19
8.0.260.0030.00317.19
8.0.250.0030.00316.96
8.0.240.0040.00416.90
8.0.230.0030.00317.00
8.0.220.0000.00716.87
8.0.210.0000.00816.76
8.0.200.0070.00016.97
8.0.190.0040.00417.01
8.0.180.0030.00516.91
8.0.170.0050.00216.93
8.0.160.0050.00316.84
8.0.150.0070.00016.86
8.0.140.0000.00816.88
8.0.130.0000.00613.32
8.0.120.0030.00516.75
8.0.110.0050.00316.83
8.0.100.0030.00616.75
8.0.90.0040.00416.94
8.0.80.0150.00716.94
8.0.70.0040.00416.75
8.0.60.0040.00416.93
8.0.50.0040.00416.96
8.0.30.0150.00617.10
8.0.20.0090.00917.40
8.0.10.0000.00716.99
8.0.00.0080.00916.73
7.4.330.0000.00515.08
7.4.320.0030.00316.38
7.4.300.0060.00316.42
7.4.290.0030.00316.61
7.4.280.0000.00716.63
7.4.270.0080.00016.49
7.4.260.0030.00716.48
7.4.250.0040.00416.61
7.4.240.0010.00616.59
7.4.230.0000.00616.30
7.4.220.0250.00316.58
7.4.210.0070.00816.53
7.4.200.0050.00316.61
7.4.190.0000.00716.73
7.4.160.0080.00816.52
7.4.150.0100.01617.40
7.4.140.0120.00617.86
7.4.130.0080.01116.52
7.4.120.0090.00816.43
7.4.110.0090.00916.62
7.4.100.0130.00716.52
7.4.90.0140.00616.57
7.4.80.0130.00319.39
7.4.70.0110.00516.56
7.4.60.0030.01316.41
7.4.50.0060.00316.21
7.4.40.0100.00722.77
7.4.30.0030.01316.58
7.4.00.0040.01215.14
7.3.330.0020.00213.17
7.3.320.0030.00313.28
7.3.310.0040.00416.17
7.3.300.0030.00316.36
7.3.290.0110.00416.37
7.3.280.0100.00816.35
7.3.270.0100.00717.40
7.3.260.0110.00716.34
7.3.250.0150.00316.42
7.3.240.0150.00316.43
7.3.230.0030.01316.39
7.3.210.0130.01016.24
7.3.200.0170.00519.39
7.3.190.0030.01316.51
7.3.180.0040.01116.28
7.3.170.0040.01116.48
7.3.160.0100.00716.46
7.3.120.0110.00414.96
7.2.330.0130.00316.66
7.2.320.0100.01016.50
7.2.310.0090.00616.71
7.2.300.0100.00716.61
7.2.290.0070.01116.47
7.2.00.0030.00919.32
7.1.100.0000.01118.21
7.1.70.0060.00617.08
7.1.60.0100.01319.33
7.1.50.0100.01017.02
7.1.00.0100.07022.28
7.0.200.0000.00716.94
7.0.140.0030.06721.99
7.0.60.0100.08019.78
7.0.50.0030.06017.86
7.0.40.0130.07720.26
7.0.30.0500.06320.19
7.0.20.0270.05320.10
7.0.10.0270.07720.09
7.0.00.0200.08020.28
5.6.280.0070.07020.92
5.6.210.0100.07720.67
5.6.200.0170.04318.24
5.6.190.0130.04720.57
5.6.180.0270.05020.61
5.6.170.0300.07720.71
5.6.160.0000.04720.70
5.6.150.0070.08018.25
5.6.140.0100.03318.15
5.6.130.0070.05018.18
5.6.120.0070.07021.02
5.6.110.0230.06320.95
5.6.100.0030.04020.95
5.6.90.0100.05021.10
5.6.80.0130.07720.35
5.6.70.0030.05320.43
5.5.350.0130.08320.42
5.5.340.0070.07717.98
5.5.330.0130.06320.40
5.5.320.0230.03320.34
5.5.310.0270.06720.23
5.5.300.0070.05018.01
5.5.290.0070.04718.06
5.5.280.0130.06020.88
5.5.270.0100.06720.96
5.5.260.0100.08320.79
5.5.250.0030.05320.66
5.5.240.0130.07320.12
5.4.450.2430.04319.40
5.4.440.0200.05019.54
5.4.430.0170.08019.54
5.4.420.0230.04019.54
5.4.410.0270.05019.32
5.4.400.0170.04019.06
5.4.390.0130.05319.19
5.4.380.0170.04019.06
5.4.370.0200.04319.08
5.4.360.0200.07719.23
5.4.350.0200.06319.17
5.4.340.0200.07319.01
5.4.320.0270.07018.95
5.4.310.0270.08318.99
5.4.300.0170.07718.83
5.4.290.0200.03719.18
5.4.280.0130.05319.16
5.4.270.0370.03319.30
5.4.260.0070.04719.23
5.4.250.0230.03719.21
5.4.240.0200.04318.86
5.4.230.0170.03718.98
5.4.220.0170.05019.20
5.4.210.0200.04319.18
5.4.200.0130.04319.23
5.4.190.0230.05318.96
5.4.180.0200.03719.09
5.4.170.0270.06019.07
5.4.160.0270.06719.19
5.4.150.0130.03319.12
5.4.140.0170.07016.51
5.4.130.0330.03316.50
5.4.120.0170.03716.32
5.4.110.0300.03716.55
5.4.100.0100.04316.27
5.4.90.0200.03316.45
5.4.80.0230.06016.53
5.4.70.0130.05016.34
5.4.60.0130.04016.48
5.4.50.0200.05716.51
5.4.40.0330.04716.41
5.4.30.0400.07316.21
5.4.20.0130.04016.48
5.4.10.0270.06716.52
5.4.00.0170.03715.82
5.3.290.0300.06014.56
5.3.280.0230.04714.67
5.3.270.0230.04314.68
5.3.260.0170.04314.59
5.3.250.0200.04014.52
5.3.240.0170.04714.53
5.3.230.0130.04014.61
5.3.220.0330.03314.81
5.3.210.0130.04014.48
5.3.200.0170.03714.46
5.3.190.0230.04014.57
5.3.180.0170.04014.48
5.3.170.0130.04014.61
5.3.160.0130.04014.54
5.3.150.0130.04014.78
5.3.140.0200.03314.78
5.3.130.0230.03014.62
5.3.120.0200.03314.54
5.3.110.0200.03314.55
5.3.100.0170.05313.94
5.3.90.0230.03014.02
5.3.80.0230.03013.93
5.3.70.0230.07013.99
5.3.60.0170.04314.05
5.3.50.0170.03313.88
5.3.40.0130.04014.00
5.3.30.0100.04314.05
5.3.20.0200.03313.60
5.3.10.0100.04013.58
5.3.00.0170.05313.56
5.2.170.0100.03311.20
5.2.160.0230.05311.05
5.2.150.0100.05711.07
5.2.140.0100.04311.20
5.2.130.0170.07011.16
5.2.120.0200.06011.02
5.2.110.0200.05011.32
5.2.100.0170.04011.19
5.2.90.0100.06711.03
5.2.80.0200.04011.17
5.2.70.0170.03310.99
5.2.60.0130.02711.16
5.2.50.0230.05311.02
5.2.40.0070.03310.91
5.2.30.0170.03010.97
5.2.20.0170.03710.96
5.2.10.0170.02710.86
5.2.00.0170.02310.64
5.1.60.0170.04710.16
5.1.50.0200.0339.91
5.1.40.0170.0339.97
5.1.30.0130.04710.34
5.1.20.0200.05010.43
5.1.10.0170.0539.96
5.1.00.0200.04010.16
5.0.50.0130.0438.43
5.0.40.0130.0208.50
5.0.30.0130.0538.09
5.0.20.0130.0238.42
5.0.10.0130.0438.07
5.0.00.0100.0608.06
4.4.90.0130.0337.98
4.4.80.0130.0307.98
4.4.70.0070.0307.98
4.4.60.0070.0237.98
4.4.50.0070.0207.98
4.4.40.0030.0337.98
4.4.30.0100.0377.98
4.4.20.0170.0277.98
4.4.10.0030.0307.98
4.4.00.0070.0377.98
4.3.110.0070.0337.98
4.3.100.0100.0377.98
4.3.90.0100.0337.98
4.3.80.0100.0307.98
4.3.70.0030.0237.98
4.3.60.0070.0177.98
4.3.50.0100.0337.98
4.3.40.0100.0437.98
4.3.30.0070.0177.98
4.3.20.0070.0377.98
4.3.10.0030.0277.98
4.3.00.0070.0207.98

preferences:
39.98 ms | 400 KiB | 5 Q