3v4l.org

run code in 300+ PHP versions simultaneously
<?php $original = array ( 0 => array ( 'id' => '63716', 'address' => '62.210.204.189', 'reverse' => NULL, 'server_id' => '51560', ), 1 => array ( 'id' => '63835', 'address' => '62.210.203.55', 'reverse' => '62-210-203-55.rev.poneytelecom.eu.', 'server_id' => '51674', ), 2 => array ( 'id' => '63836', 'address' => '62.210.203.56', 'reverse' => 'cloud.guyellia.com.', 'server_id' => '51675', ), // ... ); $transformed = array(); foreach ($original as &$a) { $transformed[$a['server_id']] = $a; } var_export($transformed);

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.70.0130.00318.18
8.3.60.0160.00618.15
8.3.50.0060.00822.94
8.3.40.0060.01218.70
8.3.30.0030.01018.84
8.3.20.0040.00420.18
8.3.10.0050.00221.71
8.3.00.0080.00020.70
8.2.180.0110.00718.29
8.2.170.0120.00322.96
8.2.160.0070.00719.46
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0020.00520.52
8.2.120.0000.00826.35
8.2.110.0040.00422.21
8.2.100.0000.01117.84
8.2.90.0050.00319.17
8.2.80.0000.00817.97
8.2.70.0060.00317.75
8.2.60.0050.00319.15
8.2.50.0040.00418.10
8.2.40.0040.00420.48
8.2.30.0040.00419.39
8.2.20.0040.00417.78
8.2.10.0000.00718.00
8.2.00.0000.00818.11
8.1.280.0000.01425.92
8.1.270.0080.00023.96
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0030.00721.31
8.1.230.0090.00317.58
8.1.220.0090.00017.74
8.1.210.0050.00318.77
8.1.200.0090.00017.35
8.1.190.0080.00017.22
8.1.180.0050.00218.10
8.1.170.0030.00718.52
8.1.160.0040.00418.97
8.1.150.0000.00718.89
8.1.140.0000.00819.45
8.1.130.0000.00717.70
8.1.120.0070.00017.47
8.1.110.0050.00317.37
8.1.100.0030.00517.42
8.1.90.0060.00317.43
8.1.80.0070.00017.41
8.1.70.0030.00517.41
8.1.60.0020.00517.58
8.1.50.0000.00817.50
8.1.40.0000.01117.40
8.1.30.0000.01017.69
8.1.20.0110.00017.69
8.1.10.0080.00017.55
8.1.00.0040.00417.36
8.0.300.0060.00318.77
8.0.290.0000.00716.75
8.0.280.0000.00818.44
8.0.270.0030.00317.36
8.0.260.0000.00717.25
8.0.250.0070.00016.97
8.0.240.0030.00316.97
8.0.230.0060.00316.84
8.0.220.0030.00316.84
8.0.210.0040.00416.87
8.0.200.0070.00017.04
8.0.190.0070.00016.84
8.0.180.0050.00216.83
8.0.170.0080.00016.93
8.0.160.0070.00016.81
8.0.150.0040.00316.77
8.0.140.0070.00016.91
8.0.130.0080.00013.32
8.0.120.0000.00816.86
8.0.110.0030.00516.89
8.0.100.0040.00416.86
8.0.90.0070.00016.87
8.0.80.0090.00616.95
8.0.70.0050.00316.85
8.0.60.0000.00816.84
8.0.50.0080.00016.92
8.0.30.0110.00816.93
8.0.20.0150.00717.40
8.0.10.0070.00016.90
8.0.00.0110.00716.60
7.4.330.0000.00515.08
7.4.320.0030.00316.61
7.4.300.0060.00016.51
7.4.290.0000.00716.58
7.4.280.0050.00316.41
7.4.270.0000.00716.52
7.4.260.0030.00316.48
7.4.250.0040.00416.39
7.4.240.0000.00716.50
7.4.230.0000.00716.34
7.4.220.0040.01416.47
7.4.210.0070.01316.63
7.4.200.0000.00716.34
7.4.160.0080.00816.51
7.4.150.0130.01017.40
7.4.140.0090.00817.86
7.4.130.0080.01316.56
7.4.120.0080.00816.55
7.4.110.0070.01116.54
7.4.100.0040.01216.54
7.4.90.0090.00916.38
7.4.80.0150.00719.39
7.4.70.0140.00316.67
7.4.60.0090.00916.64
7.4.50.0110.00716.28
7.4.40.0030.01316.51
7.4.30.0040.01216.50
7.4.10.0090.01115.04
7.4.00.0120.00614.93
7.3.330.0040.00413.31
7.3.320.0030.00313.09
7.3.310.0070.00016.39
7.3.300.0000.00716.32
7.3.290.0070.00016.28
7.3.280.0060.01016.28
7.3.270.0130.00517.40
7.3.260.0090.00816.42
7.3.250.0090.00816.44
7.3.240.0100.00916.60
7.3.230.0090.00616.39
7.3.210.0110.00616.42
7.3.200.0140.00316.55
7.3.190.0100.00716.57
7.3.180.0080.01216.54
7.3.170.0140.00416.42
7.3.160.0120.00316.51
7.3.130.0120.00714.96
7.3.120.0110.00514.79
7.3.110.0120.00714.70
7.3.100.0050.00714.74
7.3.90.0090.00414.82
7.3.80.0010.01114.95
7.3.70.0060.00714.82
7.3.60.0020.01314.74
7.3.50.0070.00814.71
7.3.40.0050.00714.77
7.3.30.0080.00714.78
7.3.20.0050.00716.67
7.3.10.0070.00916.55
7.3.00.0070.00616.59
7.2.330.0130.00616.66
7.2.320.0090.00916.73
7.2.310.0070.01016.50
7.2.300.0040.01216.66
7.2.290.0030.01316.53
7.2.260.0080.01115.10
7.2.250.0060.00715.16
7.2.240.0080.00914.94
7.2.230.0080.00715.10
7.2.220.0070.00715.04
7.2.210.0040.00914.95
7.2.200.0040.01015.01
7.2.190.0050.00715.17
7.2.180.0030.00915.11
7.2.170.0050.00814.88
7.2.160.0080.00514.93
7.2.150.0050.00616.99
7.2.140.0050.00916.84
7.2.130.0060.00816.91
7.2.120.0060.00816.90
7.2.110.0070.00816.79
7.2.100.0080.00616.71
7.2.90.0100.00616.98
7.2.80.0040.01016.84
7.2.70.0070.00916.87
7.2.60.0070.00816.80
7.2.50.0060.00616.81
7.2.40.0120.00716.86
7.2.30.0070.00916.77
7.2.20.0050.01116.72
7.2.10.0060.00716.84
7.2.00.0050.00917.23
7.1.330.0040.01215.72
7.1.320.0060.00615.90
7.1.310.0050.00815.88
7.1.300.0060.00715.53
7.1.290.0070.00315.77
7.1.280.0050.00715.86
7.1.270.0060.00515.94
7.1.260.0100.00415.90
7.1.250.0080.00515.74
7.1.240.0090.00515.79
7.1.230.0040.00915.75
7.1.220.0070.00615.75
7.1.210.0050.00815.85
7.1.200.0060.00815.63
7.1.190.0040.01115.81
7.1.180.0050.00815.77
7.1.170.0040.01015.71
7.1.160.0050.00815.87
7.1.150.0060.00615.75
7.1.140.0060.00515.88
7.1.130.0050.00615.83
7.1.120.0050.01015.72
7.1.110.0040.00815.80
7.1.100.0080.00615.79
7.1.90.0070.00715.76
7.1.80.0030.00815.74
7.1.70.0070.00616.23
7.1.60.0050.00916.85
7.1.50.0070.00615.79
7.1.40.0080.00515.74
7.1.30.0080.00215.91
7.1.20.0070.00615.76
7.1.10.0060.00515.92
7.1.00.0040.02317.53
7.0.330.0050.00915.25
7.0.320.0090.00515.45
7.0.310.0050.00915.27
7.0.300.0090.00415.50
7.0.290.0060.00815.48
7.0.280.0060.00715.41
7.0.270.0060.00815.31
7.0.260.0040.01015.31
7.0.250.0050.00715.30
7.0.240.0100.00315.34
7.0.230.0070.00715.47
7.0.220.0040.00715.41
7.0.210.0070.00515.44
7.0.200.0150.00715.14
7.0.190.0070.00515.52
7.0.180.0050.00715.43
7.0.170.0010.01115.51
7.0.160.0010.00915.28
7.0.150.0080.00515.37
7.0.140.0040.00815.31
7.0.130.0020.00815.41
7.0.120.0070.00515.38
7.0.110.0050.00715.46
7.0.100.0030.00915.34
7.0.90.0010.01115.39
7.0.80.0160.02716.58
7.0.70.0160.02516.52
7.0.60.0150.02316.49
7.0.50.0110.01616.80
7.0.40.0070.02415.10
7.0.30.0070.02515.21
7.0.20.0070.02415.13
7.0.10.0050.02115.06
7.0.00.0040.03015.13
5.6.400.0040.01014.37
5.6.390.0020.01214.22
5.6.380.0050.00814.68
5.6.370.0080.00614.40
5.6.360.0090.00414.63
5.6.350.0100.00414.44
5.6.340.0100.00314.27
5.6.330.0090.00714.35
5.6.320.0030.00914.46
5.6.310.0010.01414.33
5.6.300.0060.00714.53
5.6.290.0040.00814.36
5.6.280.0030.02516.07
5.6.270.0090.00314.55
5.6.260.0040.00814.31
5.6.250.0030.01014.34
5.6.240.0040.00814.31
5.6.230.0080.02316.01
5.6.220.0040.02016.04
5.6.210.0090.02016.00
5.6.200.0070.02215.98
5.6.190.0070.02616.13
5.6.180.0060.02516.04
5.6.170.0060.01816.06
5.6.160.0070.02315.99
5.6.150.0080.01615.94
5.6.140.0080.01516.02
5.6.130.0070.02516.08
5.6.120.0070.01816.02
5.6.110.0030.02816.12
5.6.100.0050.03116.12
5.6.90.0020.02516.06
5.6.80.0100.02215.79
5.6.70.0110.02215.90
5.6.60.0060.02515.76
5.6.50.0060.01415.83
5.6.40.0040.02615.76
5.6.30.0070.02115.90
5.6.20.0060.02315.79
5.6.10.0110.01815.76
5.6.00.0040.02415.80
5.5.380.0100.00214.35
5.5.370.0040.02515.88
5.5.360.0100.01215.92
5.5.350.0060.01915.84
5.5.340.0060.01215.79
5.5.330.0050.02815.91
5.5.320.0050.01216.00
5.5.310.0070.02416.02
5.5.300.0050.02816.04
5.5.290.0120.02315.94
5.5.280.0080.02415.96
5.5.270.0060.02815.84
5.5.260.0060.01915.89
5.5.250.0090.02215.83
5.5.240.0050.02115.70
5.5.230.0060.01515.66
5.5.220.0070.02315.64
5.5.210.0080.01615.75
5.5.200.0050.02615.71
5.5.190.0080.02315.66
5.5.180.0060.02215.63
5.5.170.0060.00614.16
5.5.160.0070.02315.90
5.5.150.0070.01515.75
5.5.140.0080.01615.69
5.5.130.0080.02315.76
5.5.120.0070.01615.84
5.5.110.0060.01815.77
5.5.100.0060.02315.66
5.5.90.0040.01915.89
5.5.80.0060.02615.67
5.5.70.0080.02615.68
5.5.60.0040.02615.79
5.5.50.0090.02115.69
5.5.40.0040.02415.60
5.5.30.0060.02015.76
5.5.20.0070.01315.80
5.5.10.0060.02315.69
5.5.00.0050.01515.66

preferences:
65.06 ms | 401 KiB | 5 Q