3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array(); $arr[5] = array ( "ID" => 3123, "IS_NEW" => 1, "OrgType" => 5, "Surname" => 'Сабиров', "Name" => 'Раиль', "Patronymic" => 'Анварович' ); $arr[6] = array ( "ID" => 3124, "IS_NEW" => 1, "OrgType" => 5, "Surname" => "Сабиров", "Name" => "Раиль", "Patronymic" => "Анварович" ); function test($item, $key) { if($key == "ID" && $item == 3124) { echo($key.' = '. $item . "\n"); } } array_walk_recursive($arr, 'test');

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.0160.00016.58
8.3.60.0140.00718.43
8.3.50.0240.00521.21
8.3.40.0150.00318.68
8.3.30.0100.00320.17
8.3.20.0070.00020.32
8.3.10.0070.00022.09
8.3.00.0050.00322.52
8.2.180.0170.00316.63
8.2.170.0090.00622.96
8.2.160.0110.00720.53
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0000.00726.16
8.2.120.0070.00020.79
8.2.110.0030.00719.21
8.2.100.0040.00817.84
8.2.90.0000.00819.17
8.2.80.0030.00517.97
8.2.70.0050.00517.63
8.2.60.0030.00617.93
8.2.50.0090.00018.07
8.2.40.0040.00418.16
8.2.30.0040.00419.45
8.2.20.0040.00417.79
8.2.10.0000.00817.67
8.2.00.0080.00017.86
8.1.280.0120.00325.92
8.1.270.0080.00023.99
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00622.20
8.1.230.0110.00020.97
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0030.00617.35
8.1.190.0000.00817.52
8.1.180.0040.00418.10
8.1.170.0050.00318.54
8.1.160.0040.00418.81
8.1.150.0000.00818.65
8.1.140.0000.00917.38
8.1.130.0000.00817.84
8.1.120.0000.00717.48
8.1.110.0030.00317.42
8.1.100.0070.00017.42
8.1.90.0050.00317.43
8.1.80.0000.00717.36
8.1.70.0030.00517.42
8.1.60.0090.00617.60
8.1.50.0020.00517.50
8.1.40.0050.00317.58
8.1.30.0000.00817.53
8.1.20.0040.00417.70
8.1.10.0040.00417.47
8.1.00.0040.00417.50
8.0.300.0040.00418.77
8.0.290.0080.00016.63
8.0.280.0030.00318.43
8.0.270.0000.00717.26
8.0.260.0070.00016.87
8.0.250.0000.00716.96
8.0.240.0060.00616.93
8.0.230.0020.00516.85
8.0.220.0000.00716.81
8.0.210.0030.00316.91
8.0.200.0000.00616.91
8.0.190.0040.00417.04
8.0.180.0000.00816.93
8.0.170.0040.00416.94
8.0.160.0040.00416.80
8.0.150.0000.00816.81
8.0.140.0040.00416.89
8.0.130.0050.00013.26
8.0.120.0040.00416.91
8.0.110.0000.00716.81
8.0.100.0050.00216.94
8.0.90.0040.00416.90
8.0.80.0110.00316.93
8.0.70.0000.00716.84
8.0.60.0040.00416.90
8.0.50.0080.00016.75
8.0.30.0080.01217.15
8.0.20.0110.00917.40
8.0.10.0040.00416.84
8.0.00.0100.00916.77
7.4.330.0060.00014.89
7.4.320.0030.00316.60
7.4.300.0030.00316.59
7.4.290.0070.00016.65
7.4.280.0070.00016.41
7.4.270.0000.00716.54
7.4.260.0050.00013.29
7.4.250.0000.00716.45
7.4.240.0020.00616.57
7.4.230.0040.00416.63
7.4.220.0110.00816.47
7.4.210.0080.00816.51
7.4.200.0040.00416.41
7.4.190.0000.00716.56
7.4.160.0100.00716.61
7.4.150.0040.01317.40
7.4.140.0080.00917.86
7.4.130.0070.01216.50
7.4.120.0100.00616.48
7.4.110.0030.01316.59
7.4.100.0110.00716.65
7.4.90.0120.01216.45
7.4.80.0140.00719.39
7.4.70.0030.01616.61
7.4.60.0100.00716.63
7.4.50.0080.00016.47
7.4.40.0030.01222.77
7.4.30.0050.01116.72
7.4.00.0070.00914.71
7.3.330.0030.00313.36
7.3.320.0060.00013.21
7.3.310.0070.00016.39
7.3.300.0040.00416.21
7.3.290.0000.01416.37
7.3.280.0080.00816.33
7.3.270.0100.00717.40
7.3.260.0070.01416.42
7.3.250.0060.01216.61
7.3.240.0160.01016.40
7.3.230.0080.00816.66
7.3.210.0130.01216.62
7.3.200.0100.01019.39
7.3.190.0040.01416.66
7.3.180.0130.00316.60
7.3.170.0110.00416.54
7.3.160.0060.01316.39
7.3.120.0030.01314.88
7.3.110.0090.00614.69
7.3.100.0040.01014.69
7.3.90.0040.01114.77
7.3.80.0090.00614.84
7.3.70.0030.00614.90
7.3.60.0100.00314.84
7.3.50.0040.01214.96
7.3.40.0060.00314.62
7.3.30.0080.01114.67
7.3.20.0030.01316.86
7.3.10.0060.00616.78
7.3.00.0080.00316.64
7.2.330.0150.00416.70
7.2.320.0120.00616.83
7.2.310.0070.01016.76
7.2.300.0120.00416.79
7.2.290.0080.00816.55
7.2.250.0120.00615.14
7.2.240.0120.00915.18
7.2.230.0070.00715.25
7.2.220.0030.00714.87
7.2.210.0140.00315.28
7.2.200.0030.01014.97
7.2.190.0060.00915.16
7.2.180.0060.00315.05
7.2.170.0070.00715.08
7.2.130.0040.00716.70
7.2.120.0070.00416.85
7.2.110.0040.00716.90
7.2.100.0080.00516.99
7.2.90.0080.00516.70
7.2.80.0090.00916.89
7.2.70.0050.00517.07
7.2.60.0100.00316.88
7.2.50.0060.00916.96
7.2.40.0000.00917.03
7.2.30.0040.01116.55
7.2.20.0090.00316.71
7.2.10.0030.00516.97
7.2.00.0100.00318.24
7.1.330.0150.00015.84
7.1.320.0070.00715.70
7.1.310.0060.00915.95
7.1.300.0030.01015.77
7.1.290.0070.00715.78
7.1.280.0150.00415.91
7.1.270.0000.01815.94
7.1.260.0070.00415.94
7.1.250.0030.01015.64
7.1.240.0040.00815.51
7.1.230.0060.00615.76
7.1.220.0040.00815.77
7.1.210.0070.00315.84
7.1.200.0060.00615.85
7.1.190.0040.00815.90
7.1.180.0000.01215.87
7.1.170.0000.01015.89
7.1.160.0070.00415.91
7.1.150.0040.00815.86
7.1.140.0070.00715.93
7.1.130.0030.00915.52
7.1.120.0040.00815.82
7.1.110.0070.00415.77
7.1.100.0060.00817.02
7.1.90.0000.01015.40
7.1.80.0030.00615.64
7.1.70.0030.00716.44
7.1.60.0050.01317.37
7.1.50.0070.01016.29
7.1.40.0090.00615.82
7.1.30.0070.00715.74
7.1.20.0050.00315.95
7.1.10.0000.00915.54
7.1.00.0050.02419.27
7.0.330.0060.00915.23
7.0.320.0090.00315.31
7.0.310.0000.00715.25
7.0.300.0100.00615.32
7.0.290.0030.00915.06
7.0.280.0000.01015.13
7.0.270.0000.01315.17
7.0.260.0040.00415.52
7.0.250.0000.00915.41
7.0.240.0030.01015.45
7.0.230.0000.01115.52
7.0.220.0080.00315.40
7.0.210.0000.01215.14
7.0.200.0030.00615.99
7.0.190.0070.00715.24
7.0.180.0050.00215.28
7.0.170.0090.00315.43
7.0.160.0100.00315.33
7.0.150.0000.01515.34
7.0.140.0030.04018.60
7.0.130.0000.00815.60
7.0.120.0000.01215.07
7.0.110.0040.00815.19
7.0.100.0070.00715.27
7.0.90.0000.01515.44
7.0.80.0270.03517.65
7.0.70.0200.02817.63
7.0.60.0140.02717.69
7.0.50.0120.03617.89
7.0.40.0080.03016.72
7.0.30.0030.04516.82
7.0.20.0050.02716.64
7.0.10.0040.03216.63
7.0.00.0030.02216.69
5.6.380.0030.00614.28
5.6.370.0040.00714.21
5.6.360.0080.00414.20
5.6.350.0110.00314.40
5.6.340.0100.00314.58
5.6.330.0030.00514.09
5.6.320.0090.00614.69
5.6.310.0090.00014.63
5.6.300.0090.00614.71
5.6.290.0050.00514.68
5.6.280.0070.03817.66
5.6.270.0140.00014.43
5.6.260.0040.00414.70
5.6.250.0100.00314.24
5.6.240.0030.01014.52
5.6.230.0090.04217.42
5.6.220.0110.04117.49
5.6.210.0100.03517.58
5.6.200.0030.03417.59
5.6.190.0080.04317.84
5.6.180.0070.04217.82
5.6.170.0040.03717.89
5.6.160.0040.03617.59
5.6.150.0020.02517.72
5.6.140.0030.04217.69
5.6.130.0120.03717.70
5.6.120.0070.04117.68
5.6.110.0080.04317.76
5.6.100.0110.02517.52
5.6.90.0050.03717.74
5.6.80.0100.01817.42
5.6.70.0030.03217.29
5.6.60.0070.03017.25
5.6.50.0020.02517.27
5.6.40.0060.02517.30
5.6.30.0000.02417.35
5.6.20.0020.02517.39
5.6.10.0030.02017.41
5.6.00.0050.02017.35
5.5.380.0030.00311.14
5.5.370.0030.04515.98
5.5.360.0050.02515.84
5.5.350.0030.02515.71
5.5.340.0020.02715.99
5.5.330.0080.02216.17
5.5.320.0040.03916.16
5.5.310.0050.02316.13
5.5.300.0070.01816.17
5.5.290.0030.03916.02
5.5.280.0100.02616.16
5.5.270.0030.04016.07
5.5.260.0110.04115.93
5.5.250.0050.01815.84
5.5.240.0060.01815.78
5.5.230.0030.04315.80
5.5.220.0030.05115.45
5.5.210.0050.02315.78
5.5.200.0050.03115.56
5.5.190.0070.01715.55
5.5.180.0070.02815.75
5.5.170.0030.00611.39
5.5.160.0120.01715.84
5.5.150.0020.03415.42
5.5.140.0050.02715.77
5.5.130.0030.02015.83
5.5.120.0070.02115.74
5.5.110.0030.02115.66
5.5.100.0080.02015.65
5.5.90.0100.02015.76
5.5.80.0070.02715.51
5.5.70.0060.02815.76
5.5.60.0070.01715.71
5.5.50.0060.03315.70
5.5.40.0020.03815.67
5.5.30.0070.02415.77
5.5.20.0130.04015.60
5.5.10.0080.03115.54
5.5.00.0050.02015.38
5.4.450.0080.02915.19
5.4.440.0050.02115.43
5.4.430.0050.04115.37
5.4.420.0030.02415.45
5.4.410.0030.02315.15
5.4.400.0090.03714.87
5.4.390.0030.02015.19
5.4.380.0070.04215.01
5.4.370.0020.04615.15
5.4.360.0030.02115.03
5.4.350.0050.01714.91
5.4.340.0040.01815.13
5.4.330.0070.00310.84
5.4.320.0030.03615.28
5.4.310.0010.02115.01
5.4.300.0020.02615.03
5.4.290.0030.02115.04
5.4.280.0030.03315.11
5.4.270.0050.02115.16
5.4.260.0050.03614.95
5.4.250.0050.04015.19
5.4.240.0050.04215.14
5.4.230.0060.02615.21
5.4.220.0070.01715.15
5.4.210.0050.02015.04
5.4.200.0050.02315.16
5.4.190.0070.03615.04
5.4.180.0080.03315.19
5.4.170.0070.01815.19
5.4.160.0010.02315.08
5.4.150.0070.02115.06
5.4.140.0000.02013.70
5.4.130.0060.01713.69
5.4.120.0060.01813.80
5.4.110.0050.02613.81
5.4.100.0080.01613.73
5.4.90.0070.03313.95
5.4.80.0070.02813.87
5.4.70.0120.03013.85
5.4.60.0030.03013.81
5.4.50.0030.02913.90
5.4.40.0030.03613.78
5.4.30.0020.04113.88
5.4.20.0000.04313.83
5.4.10.0020.04113.82
5.4.00.0030.02713.55
5.3.290.0050.03212.72
5.3.280.0050.03512.68
5.3.270.0000.04312.73
5.3.260.0000.03312.70
5.3.250.0060.02812.66
5.3.240.0070.03712.64
5.3.230.0040.02112.65
5.3.220.0020.04212.65
5.3.210.0030.04012.64
5.3.200.0030.02812.64
5.3.190.0030.03912.61
5.3.180.0040.04112.72
5.3.170.0110.01712.62
5.3.160.0030.03812.70
5.3.150.0020.04712.67
5.3.140.0030.02412.59
5.3.130.0030.03512.67
5.3.120.0020.04312.61
5.3.110.0030.04212.70
5.3.100.0020.03512.44
5.3.90.0040.02112.39
5.3.80.0050.02612.42
5.3.70.0030.02612.41
5.3.60.0080.03812.30
5.3.50.0050.03712.29
5.3.40.0050.02012.40
5.3.30.0020.02112.34
5.3.20.0020.03512.21
5.3.10.0060.01512.12
5.3.00.0080.03312.14
5.2.170.0040.03211.15
5.2.160.0030.02611.15
5.2.150.0050.03111.15
5.2.140.0080.02711.15
5.2.130.0030.01311.15
5.2.120.0050.01311.15
5.2.110.0020.01611.15
5.2.100.0020.01711.15
5.2.90.0050.01311.15
5.2.80.0030.03011.15
5.2.70.0050.01111.15
5.2.60.0050.02811.15
5.2.50.0040.02611.15
5.2.40.0060.03111.15
5.2.30.0030.03011.15
5.2.20.0030.02011.15
5.2.10.0020.03211.15
5.2.00.0070.02311.15
5.1.60.0060.02211.15
5.1.50.0060.02511.15
5.1.40.0060.01711.15
5.1.30.0060.01211.15
5.1.20.0110.01811.15
5.1.10.0060.02811.15
5.1.00.0040.01911.15
5.0.50.0070.01911.15
5.0.40.0040.00911.15
5.0.30.0000.01711.15
5.0.20.0040.01811.15
5.0.10.0030.01111.15
5.0.00.0050.02011.15
4.4.90.0070.01511.15
4.4.80.0000.02011.15
4.4.70.0030.01011.15
4.4.60.0030.00711.15
4.4.50.0020.00911.15
4.4.40.0010.01411.15
4.4.30.0020.02111.15
4.4.20.0000.02011.15
4.4.10.0000.01211.15
4.4.00.0030.01511.15
4.3.110.0000.00811.15
4.3.100.0020.01011.15
4.3.90.0050.00711.15
4.3.80.0010.01611.15
4.3.70.0030.00811.15
4.3.60.0050.01511.15
4.3.50.0020.01811.15
4.3.40.0050.01011.15
4.3.30.0020.01811.15
4.3.20.0030.01611.15
4.3.10.0000.01511.15
4.3.00.0020.01011.15

preferences:
40.62 ms | 401 KiB | 5 Q