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( "usersv" => 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.60.0140.00718.80
8.3.50.0120.00321.98
8.3.40.0070.00718.66
8.3.30.0070.00718.92
8.3.20.0060.00320.16
8.3.10.0040.00423.48
8.3.00.0040.00719.51
8.2.180.0070.00718.41
8.2.170.0100.01022.96
8.2.160.0060.01020.35
8.2.150.0070.00024.18
8.2.140.0090.00024.66
8.2.130.0000.01126.16
8.2.120.0000.00822.16
8.2.110.0040.00422.25
8.2.100.0070.00418.03
8.2.90.0000.01019.34
8.2.80.0000.00817.97
8.2.70.0080.00017.75
8.2.60.0080.00017.93
8.2.50.0040.00418.07
8.2.40.0030.00618.34
8.2.30.0030.00618.21
8.2.20.0040.00417.80
8.2.10.0050.00218.01
8.2.00.0070.00317.91
8.1.280.0100.00325.92
8.1.270.0050.00323.83
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0040.00423.72
8.1.230.0040.00719.21
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0040.00417.29
8.1.180.0050.00318.10
8.1.170.0050.00318.54
8.1.160.0040.00422.04
8.1.150.0070.00018.65
8.1.140.0030.00517.33
8.1.130.0000.00717.84
8.1.120.0000.00717.45
8.1.110.0030.00517.47
8.1.100.0000.00717.40
8.1.90.0000.00817.37
8.1.80.0040.00417.53
8.1.70.0030.00317.46
8.1.60.0000.00817.52
8.1.50.0030.00517.43
8.1.40.0020.00517.55
8.1.30.0000.00817.55
8.1.20.0000.00717.61
8.1.10.0000.00817.45
8.1.00.0000.00717.56
8.0.300.0070.00018.77
8.0.290.0050.00317.18
8.0.280.0070.00018.40
8.0.270.0080.00017.27
8.0.260.0000.00717.27
8.0.250.0030.00417.04
8.0.240.0030.00517.02
8.0.230.0000.00717.04
8.0.220.0000.00716.85
8.0.210.0000.00716.88
8.0.200.0030.00316.89
8.0.190.0000.00816.93
8.0.180.0040.00416.87
8.0.170.0050.00316.97
8.0.160.0040.00416.87
8.0.150.0000.00716.90
8.0.140.0070.00016.85
8.0.130.0060.00013.43
8.0.120.0030.00516.95
8.0.110.0000.00816.86
8.0.100.0030.00516.83
8.0.90.0040.00417.03
8.0.80.0060.00916.96
8.0.70.0040.00416.83
8.0.60.0050.00216.79
8.0.50.0000.00717.00
8.0.30.0090.00917.08
8.0.20.0130.00617.40
8.0.10.0040.00416.95
8.0.00.0110.00616.79
7.4.330.0040.00415.00
7.4.320.0060.00016.52
7.4.300.0030.00316.58
7.4.290.0070.00016.60
7.4.280.0030.00316.58
7.4.270.0000.00716.54
7.4.260.0060.00316.62
7.4.250.0030.00316.42
7.4.240.0000.00716.53
7.4.230.0020.00516.71
7.4.220.0060.01516.62
7.4.210.0110.00616.50
7.4.200.0000.00716.39
7.4.190.0020.00516.46
7.4.160.0100.01316.52
7.4.150.0090.00917.40
7.4.140.0120.00517.86
7.4.130.0100.00816.57
7.4.120.0110.00616.62
7.4.110.0000.01716.38
7.4.100.0090.01016.56
7.4.90.0140.00316.55
7.4.80.0150.00319.39
7.4.70.0110.00616.53
7.4.60.0150.00816.59
7.4.50.0000.00516.65
7.4.40.0000.01722.77
7.4.30.0080.00816.38
7.4.00.0130.00514.99
7.3.330.0040.00413.30
7.3.320.0050.00013.38
7.3.310.0000.00716.34
7.3.300.0030.00516.25
7.3.290.0150.00416.37
7.3.280.0070.01116.37
7.3.270.0060.01217.40
7.3.260.0060.01216.57
7.3.250.0070.01116.38
7.3.240.0070.01016.34
7.3.230.0080.00816.39
7.3.210.0100.00716.39
7.3.200.0150.00619.39
7.3.190.0100.01316.52
7.3.180.0100.01016.36
7.3.170.0110.00516.55
7.3.160.0100.00616.38
7.3.120.0090.00614.93
7.3.110.0070.01014.93
7.3.100.0070.00714.77
7.3.90.0030.01314.89
7.3.80.0070.00414.68
7.3.70.0030.00614.71
7.3.60.0080.00414.94
7.3.50.0000.01414.96
7.3.40.0040.00814.82
7.3.30.0000.01014.57
7.3.20.0030.01316.75
7.3.10.0070.00816.82
7.3.00.0060.00316.69
7.2.330.0090.00916.72
7.2.320.0120.00916.50
7.2.310.0130.00316.49
7.2.300.0160.00016.57
7.2.290.0090.00916.76
7.2.250.0100.00615.05
7.2.240.0120.00915.01
7.2.230.0100.00714.88
7.2.220.0100.00715.27
7.2.210.0060.00815.13
7.2.200.0030.00614.94
7.2.190.0060.00614.89
7.2.180.0090.00315.06
7.2.170.0070.00315.09
7.2.130.0100.00316.98
7.2.120.0040.00717.02
7.2.110.0080.00416.98
7.2.100.0030.01016.93
7.2.90.0000.00916.91
7.2.80.0030.01216.84
7.2.70.0070.00716.67
7.2.60.0030.01016.92
7.2.50.0030.01316.93
7.2.40.0090.00316.96
7.2.30.0130.00317.02
7.2.20.0090.00617.04
7.2.10.0040.01216.85
7.2.00.0050.01018.20
7.1.330.0070.00416.05
7.1.320.0090.00615.55
7.1.310.0070.00715.63
7.1.300.0040.00815.80
7.1.290.0040.00715.88
7.1.280.0030.01015.88
7.1.270.0110.00315.61
7.1.260.0030.00715.54
7.1.250.0090.00615.70
7.1.200.0060.00915.49
7.1.100.0070.00718.40
7.1.70.0140.00917.00
7.1.60.0060.01919.33
7.1.50.0180.00634.91
7.1.00.0070.07322.28
7.0.200.0000.01016.80
7.0.140.0000.07321.95
7.0.60.0100.07319.90
7.0.50.0100.08317.71
7.0.40.0030.04320.27
7.0.30.0270.05020.02
7.0.20.0230.08720.13
7.0.10.0070.05020.20
7.0.00.0070.08320.20
5.6.280.0000.07721.09
5.6.210.0070.08720.50
5.6.200.0000.06018.18
5.6.190.0000.09020.76
5.6.180.0370.07720.43
5.6.170.0270.04720.38
5.6.160.0130.05020.69
5.6.150.0070.04018.07
5.6.140.0070.05318.16
5.6.130.0030.04318.18
5.6.120.0070.05020.96
5.6.110.0070.08720.89
5.6.100.0100.07721.00
5.6.90.0070.08321.13
5.6.80.0200.04020.53
5.6.70.4670.03320.36
5.5.350.0070.09020.43
5.5.340.0070.05018.02
5.5.330.0000.04720.23
5.5.320.0370.07720.34
5.5.310.0300.04020.33
5.5.300.0170.07017.88
5.5.290.0030.04018.02
5.5.280.0070.06720.77
5.5.270.0030.04020.84
5.5.260.0070.04020.79
5.5.250.0030.04020.66
5.5.240.0130.08020.05
5.4.450.0170.05019.47
5.4.440.0630.04019.43
5.4.430.0130.05019.62
5.4.420.0770.05719.13
5.4.410.0400.06019.12
5.4.400.0770.05018.82
5.4.390.1000.07319.30
5.4.380.0030.06718.66
5.4.370.0030.06318.71
5.4.360.0200.04718.71
5.4.350.0030.06318.52
5.4.340.0100.05718.78
5.4.320.0080.03512.45
5.4.310.0070.04312.45
5.4.300.0070.03512.46
5.4.290.0080.03612.45
5.4.280.0090.04012.32
5.4.270.0090.03712.32
5.4.260.0120.03612.32
5.4.250.0030.04212.32
5.4.240.0070.03412.32
5.4.230.0060.03812.32
5.4.220.0080.03612.32
5.4.210.0060.03612.32
5.4.200.0050.03912.31
5.4.190.0130.04912.31
5.4.180.0090.04912.31
5.4.170.0120.04712.32
5.4.160.0080.06112.32
5.4.150.0070.04712.31
5.4.140.0110.05012.00
5.4.130.0060.03711.99
5.4.120.0070.03611.95
5.4.110.0080.05111.94
5.4.100.0090.03611.94
5.4.90.0070.04511.94
5.4.80.0070.04511.94
5.4.70.0120.06211.94
5.4.60.0190.06311.94
5.4.50.0100.04211.93
5.4.40.0050.03711.92
5.4.30.0040.03911.93
5.4.20.0060.03911.92
5.4.10.0120.06511.92
5.4.00.0250.07711.41
5.3.290.0080.03712.80
5.3.280.0120.04912.71
5.3.270.0130.05412.72
5.3.260.0120.05912.72
5.3.250.0080.04612.72
5.3.240.0070.04312.72
5.3.230.0070.04612.71
5.3.220.0050.05012.68
5.3.210.0090.04612.68
5.3.200.0040.04012.68
5.3.190.0080.05212.68
5.3.180.0090.03612.67
5.3.170.0050.04012.67
5.3.160.0060.05312.68
5.3.150.0070.03812.68
5.3.140.0070.05612.66
5.3.130.0100.04212.66
5.3.120.0100.03812.66
5.3.110.0110.04412.66
5.3.100.0120.04412.12
5.3.90.0050.04112.08
5.3.80.0040.04012.07
5.3.70.0070.03612.08
5.3.60.0070.03612.06
5.3.50.0060.03812.00
5.3.40.0080.05112.00
5.3.30.0060.03711.94
5.3.20.0060.03611.71
5.3.10.0080.03311.67
5.3.00.0060.03611.66
5.2.170.0030.0339.16
5.2.160.0020.0319.16
5.2.150.0070.0299.16
5.2.140.0050.0339.16
5.2.130.0040.0319.11
5.2.120.0050.0329.12
5.2.110.0070.0329.13
5.2.100.0050.0319.12
5.2.90.0050.0379.12
5.2.80.0070.0339.11
5.2.70.0060.0319.11
5.2.60.0070.0369.07
5.2.50.0020.0339.04
5.2.40.0070.0279.02
5.2.30.0060.0298.99
5.2.20.0030.0328.97
5.2.10.0030.0338.91
5.2.00.0040.0318.77
5.1.60.0040.0328.05
5.1.50.0050.0248.05
5.1.40.0050.0288.03
5.1.30.0040.0278.38
5.1.20.0060.0258.40
5.1.10.0070.0268.13
5.1.00.0030.0278.13
5.0.50.0040.0216.61
5.0.40.0050.0246.47
5.0.30.0060.0396.28
5.0.20.0070.0196.25
5.0.10.0060.0206.23
5.0.00.0020.0346.22
4.4.90.0040.0164.78
4.4.80.0040.0154.76
4.4.70.0040.0164.75
4.4.60.0040.0154.75
4.4.50.0030.0194.77
4.4.40.0030.0254.71
4.4.30.0030.0154.76
4.4.20.0020.0174.84
4.4.10.0060.0204.85
4.4.00.0040.0324.76
4.3.110.0060.0204.67
4.3.100.0020.0224.66
4.3.90.0050.0184.63
4.3.80.0060.0314.58
4.3.70.0070.0204.63
4.3.60.0030.0224.63
4.3.50.0100.0184.63
4.3.40.0050.0264.54
4.3.30.0040.0253.28
4.3.20.0070.0203.26
4.3.10.0060.0173.22
4.3.00.0000.0237.78

preferences:
45.05 ms | 401 KiB | 5 Q