3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = Array( Array ( 'count' => 1, '0' => 'Max, Mustermann', '1' => 'Job', '2' => 'Companyname', '3' => 'IT', '4' => 'CEO', '5' => 'N610-611', '6' => '+49 (30) 111111', '7' => '+49 (30) 111111', '8' => 'max@company.de' ), Array ( 'count' => 1, '0' => 'Alicia Keys', '1' => 'Job', '2' => 'Companyname', '3' => 'IT', '4' => 'CEO', '5' => 'N610-N611', '6' => '+49 11111', '7' => '+49 11111', '8' => 'alikey@company.de' ) ); $index_array = array('count','Name','Jobname','Company','Division','CEO','Room','Tel','Fax','E-Mail'); foreach($array as &$value){ $value = array_combine($index_array ,$value); } print_r($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.00.0110.01221.70
8.4.150.0010.00014.05
8.4.140.0100.01017.61
8.4.130.0050.00418.82
8.4.120.0130.00624.10
8.4.110.0110.00820.62
8.4.100.0100.00818.68
8.4.90.0100.01020.44
8.4.80.0070.00717.56
8.4.70.0120.00919.40
8.4.60.0080.01118.85
8.4.50.0030.00618.39
8.4.40.0190.00319.10
8.4.30.0160.00317.41
8.4.20.0060.00320.41
8.4.10.0030.00617.63
8.3.280.0120.00918.30
8.3.270.0110.01116.51
8.3.260.0110.00916.74
8.3.250.0100.00918.94
8.3.240.0040.00517.09
8.3.230.0090.01016.34
8.3.220.0080.00918.79
8.3.210.0080.00916.56
8.3.200.0020.00716.41
8.3.190.0080.01016.41
8.3.180.0110.00716.64
8.3.170.0190.00017.20
8.3.160.0040.00418.45
8.3.150.0070.01017.23
8.3.140.0150.00416.51
8.3.130.0080.00016.57
8.3.120.0090.00919.02
8.3.110.0150.00320.94
8.3.100.0050.00324.06
8.3.90.0080.00626.77
8.3.80.0030.00617.97
8.3.70.0070.00718.18
8.3.60.0110.01116.25
8.3.50.0080.00718.30
8.3.40.0130.00318.50
8.3.30.0130.00618.59
8.3.20.0050.00319.21
8.3.10.0080.00021.63
8.3.00.0040.00420.70
8.2.290.0110.00720.51
8.2.280.0090.00818.29
8.2.270.0140.00417.07
8.2.260.0100.00717.03
8.2.250.0050.00318.52
8.2.240.0120.00622.48
8.2.230.0000.00922.58
8.2.220.0050.00537.54
8.2.210.0170.00326.77
8.2.200.0030.00616.63
8.2.190.0120.00316.58
8.2.180.0130.00318.16
8.2.170.0140.00722.96
8.2.160.0080.00822.18
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00419.64
8.2.120.0040.00426.35
8.2.110.0060.00322.28
8.2.100.0060.00617.91
8.2.90.0050.00317.97
8.2.80.0040.00417.97
8.2.70.0030.00617.93
8.2.60.0050.00218.16
8.2.50.0030.00618.10
8.2.40.0000.00719.46
8.2.30.0040.00419.14
8.2.20.0030.00718.09
8.2.10.0080.00018.12
8.2.00.0040.00417.62
8.1.330.0060.00521.91
8.1.320.0110.00916.28
8.1.310.0030.01218.13
8.1.300.0030.00517.82
8.1.290.0080.00030.84
8.1.280.0140.00025.92
8.1.270.0030.00722.14
8.1.260.0070.00026.35
8.1.250.0000.00828.09
8.1.240.0040.00817.45
8.1.230.0070.00420.97
8.1.220.0040.00417.75
8.1.210.0040.00418.96
8.1.200.0060.00317.36
8.1.190.0000.00817.35
8.1.180.0090.00018.10
8.1.170.0040.00418.51
8.1.160.0000.00718.90
8.1.150.0040.00418.88
8.1.140.0040.00422.04
8.1.130.0030.00322.09
8.1.120.0040.00317.35
8.1.110.0040.00417.38
8.1.100.0000.00817.44
8.1.90.0070.00317.46
8.1.80.0030.00317.34
8.1.70.0030.00517.45
8.1.60.0080.00017.64
8.1.50.0030.00517.41
8.1.40.0050.00317.41
8.1.30.0040.00717.67
8.1.20.0040.00417.66
8.1.10.0080.00017.34
8.1.00.0040.00417.26
8.0.300.0040.00419.77
8.0.290.0050.00316.75
8.0.280.0070.00018.32
8.0.270.0040.00416.73
8.0.260.0030.00318.51
8.0.250.0030.00317.00
8.0.240.0040.00416.84
8.0.230.0060.00016.95
8.0.220.0030.00316.79
8.0.210.0000.00716.88
8.0.200.0000.00716.86
8.0.190.0040.00416.99
8.0.180.0020.00516.79
8.0.170.0000.00916.93
8.0.160.0000.00716.86
8.0.150.0040.00416.76
8.0.140.0080.00016.90
8.0.130.0000.00613.36
8.0.120.0050.00316.89
8.0.110.0030.00316.93
8.0.100.0080.00016.86
8.0.90.0000.00816.83
8.0.80.0050.01316.87
8.0.70.0080.00016.84
8.0.60.0040.00416.85
8.0.50.0000.00816.79
8.0.30.0070.01416.70
8.0.20.0100.01017.40
8.0.10.0040.00417.12
8.0.00.0120.00816.75
7.4.330.0050.00015.55
7.4.320.0060.00016.40
7.4.300.0030.00316.59
7.4.290.0000.00816.59
7.4.280.0040.00416.44
7.4.270.0070.00016.58
7.4.260.0050.00216.59
7.4.250.0050.00316.57
7.4.240.0040.00416.50
7.4.230.0070.00016.38
7.4.220.0040.00416.57
7.4.210.0050.01216.59
7.4.200.0040.00416.43
7.4.140.0100.00717.86
7.4.130.0070.01116.40
7.4.120.0140.00516.47
7.4.110.0130.01016.59
7.4.100.0090.00616.39
7.4.90.0060.01816.49
7.4.80.0150.00319.39
7.4.70.0200.00316.54
7.4.60.0110.00616.32
7.4.50.0070.00716.57
7.4.40.0060.00916.30
7.4.00.0100.00714.82
7.3.330.0050.00012.95
7.3.320.0000.00613.09
7.3.310.0000.00916.32
7.3.300.0070.00016.16
7.3.290.0070.00016.23
7.3.280.0040.01216.22
7.3.260.0100.00716.32
7.3.240.0080.01016.43
7.3.230.0100.00716.36
7.3.210.0080.00816.31
7.3.200.0090.01016.24
7.3.190.0100.01316.32
7.3.180.0060.00916.64
7.3.170.0130.00316.53
7.3.160.0090.01216.37
7.2.330.0100.00716.55
7.2.320.0090.01316.73
7.2.310.0120.00616.55
7.2.300.0080.00816.55
7.2.290.0110.00616.60
7.2.110.0750.00914.68
7.2.100.0560.01314.91
7.2.90.0490.00614.89
7.2.80.0620.00314.81
7.2.70.0690.00315.00
7.2.60.0500.00714.91
7.2.50.0600.00014.65
7.2.40.0720.00915.06
7.2.30.1460.00915.00
7.2.20.0510.00714.92
7.2.10.0370.01315.11
7.2.00.0570.00614.89
7.1.230.0450.00613.86
7.1.220.0550.01014.02
7.1.210.0460.01013.90
7.1.200.0620.00614.02
7.1.190.0570.00913.97
7.1.180.0450.00713.59
7.1.170.0540.00713.77
7.1.160.0510.00613.64
7.1.150.0450.01013.64
7.1.140.0410.01014.06
7.1.130.0380.01313.94
7.1.120.0720.00313.82
7.1.110.0970.00613.92
7.1.100.0560.01013.66
7.1.90.0510.00713.80
7.1.80.0450.01013.96
7.1.70.0710.00413.84
7.1.60.0700.01531.77
7.1.50.1100.01631.91
7.1.40.0900.00731.86
7.1.30.0920.01031.50
7.1.20.0850.01031.89
7.1.10.0660.00613.88
7.1.00.0490.00713.83
5.6.380.0120.00814.25

preferences:
131.86 ms | 403 KiB | 5 Q