3v4l.org

run code in 300+ PHP versions simultaneously
<?php $p_41 = array ( 1 => array ( "nomer" => 1, "PIP" => "Баумкетнер Я.", "SB" => 4 ), 2 => array ( "nomer" => 2, "PIP" => "Білик М.", "SB" => 3 ), 3 => array ( "nomer" => 3, "PIP" => "Вівчарик В.", "SB" => 3 ), 4 => array ( "nomer" => 4, "PIP" => "Гайдук Р.", "SB" => 4 ), 5 => array ( "nomer" => 5, "PIP" => "Горбатюк М.", "SB" => 3 ), 6 => array ( "nomer" => 6, "PIP" => "Гуня A.", "SB" => 3 ), 7 => array ( "nomer" => 7, "PIP" => "Дмитрів А.", "SB" => 3 ), 8 => array ( "nomer" => 8, "PIP" => "Дубінський Я.", "SB" => "4" ), 9 => array ( "nomer" => 9, "PIP" => "Жила в.", "SB" => 3 ), 10 => array ( "nomer" => 10, "PIP" => "Жук О.", "SB" => 4 ) ); echo "Номер ПІП СБ \n"; echo "-----------------------------------------\n"; foreach ($p_41 as $nomer => $info) { $k=$nomer++; foreach ($info as $inf => $znach) { echo "$znach "; } echo "\n"; } echo "\n"; array_search(5, 1); ?>

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.0090.00618.68
8.3.60.0070.01116.75
8.3.50.0130.00722.05
8.3.40.0070.01418.65
8.3.30.0040.01118.70
8.3.20.0040.00420.33
8.3.10.0050.00323.70
8.3.00.0040.00419.13
8.2.190.0060.00916.63
8.2.180.0070.01416.63
8.2.170.0100.00622.96
8.2.160.0100.00320.52
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0040.00417.50
8.2.110.0090.00322.25
8.2.100.0090.00317.80
8.2.90.0060.00319.23
8.2.80.0040.00417.97
8.2.70.0050.00317.63
8.2.60.0080.00417.93
8.2.50.0040.00818.07
8.2.40.0040.00419.38
8.2.30.0070.00020.74
8.2.20.0000.00817.75
8.2.10.0040.00418.03
8.2.00.0040.00418.12
8.1.280.0070.01025.92
8.1.270.0040.00423.91
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0070.00322.57
8.1.230.0000.01117.78
8.1.220.0080.00017.76
8.1.210.0030.00618.77
8.1.200.0000.01017.23
8.1.190.0080.00017.21
8.1.180.0030.00618.10
8.1.170.0030.00618.71
8.1.160.0040.00422.04
8.1.150.0040.00418.80
8.1.140.0000.00819.59
8.1.130.0050.00217.58
8.1.120.0000.00717.36
8.1.110.0030.00617.47
8.1.100.0000.01117.45
8.1.90.0000.00717.35
8.1.80.0050.00317.41
8.1.70.0070.00017.39
8.1.60.0030.00517.61
8.1.50.0030.00517.45
8.1.40.0040.00417.44
8.1.30.0080.00017.62
8.1.20.0060.00317.66
8.1.10.0030.00617.59
8.1.00.0000.00717.54
8.0.300.0040.00418.77
8.0.290.0040.00416.88
8.0.280.0020.00518.44
8.0.270.0000.00717.26
8.0.260.0060.00017.22
8.0.250.0000.00716.91
8.0.240.0030.00317.00
8.0.230.0030.00316.96
8.0.220.0070.00017.02
8.0.210.0000.00716.97
8.0.200.0030.00317.07
8.0.190.0030.00517.04
8.0.180.0040.00416.86
8.0.170.0000.00716.93
8.0.160.0020.00516.92
8.0.150.0040.00417.02
8.0.140.0000.00716.97
8.0.130.0030.00313.35
8.0.120.0080.00016.77
8.0.110.0040.00416.89
8.0.100.0000.00717.00
8.0.90.0040.00417.02
8.0.80.0100.01116.91
8.0.70.0000.00716.91
8.0.60.0070.00016.96
8.0.50.0000.00817.02
8.0.30.0090.00917.06
8.0.20.0100.00917.40
8.0.10.0060.00316.93
8.0.00.0110.00616.75
7.4.330.0000.00615.08
7.4.320.0040.00416.65
7.4.300.0030.00316.57
7.4.290.0040.00416.46
7.4.280.0040.00416.51
7.4.270.0030.00316.53
7.4.260.0000.00716.60
7.4.250.0040.00416.39
7.4.240.0050.00316.61
7.4.230.0040.00416.63
7.4.220.0160.01016.35
7.4.210.0000.01416.70
7.4.200.0040.00416.59
7.4.160.0070.01016.46
7.4.150.0070.01017.40
7.4.140.0080.01017.86
7.4.130.0120.00916.43
7.4.120.0100.00616.54
7.4.110.0070.01116.77
7.4.100.0040.01816.64
7.4.90.0180.00516.64
7.4.80.0110.00719.39
7.4.70.0140.00316.63
7.4.60.0150.00316.59
7.4.50.0030.00516.41
7.4.40.0140.00816.61
7.4.30.0060.01316.23
7.4.00.0000.01615.06
7.3.330.0060.00013.18
7.3.320.0000.00613.08
7.3.310.0040.00416.20
7.3.300.0070.00016.35
7.3.290.0090.00816.29
7.3.280.0100.00716.30
7.3.270.0160.00317.40
7.3.260.0030.01316.52
7.3.250.0090.00716.48
7.3.240.0120.00816.44
7.3.230.0140.00316.46
7.3.210.0160.00616.53
7.3.200.0060.01016.35
7.3.190.0120.00416.45
7.3.180.0160.00716.60
7.3.170.0100.00716.43
7.3.160.0130.00316.43
7.3.10.0070.01916.75
7.3.00.0060.01315.91
7.2.330.0100.01016.35
7.2.320.0120.00616.43
7.2.310.0070.01016.51
7.2.300.0060.01616.63
7.2.290.0110.01116.58
7.2.130.0160.00816.81
7.2.120.0200.00016.52
7.2.110.0100.00616.83
7.2.100.0090.00916.46
7.2.90.0100.00716.53
7.2.80.0280.00316.60
7.2.70.0160.00616.41
7.2.60.0110.00316.55
7.2.50.0110.00416.36
7.2.40.0080.01216.82
7.2.30.0140.00716.83
7.2.20.0120.00616.49
7.2.10.0110.00416.91
7.2.00.0090.00618.12
7.1.250.0100.00615.33
7.1.100.0070.00718.09
7.1.70.0090.00017.08
7.1.60.0170.00719.43
7.1.50.0070.02016.90
7.1.00.0030.07722.46
7.0.200.0180.00914.93
7.0.60.0100.05319.96
7.0.50.0100.07717.79
7.0.40.0130.05720.30
7.0.30.0070.08720.16
7.0.20.0430.07020.27
7.0.10.0130.04720.18
7.0.00.0070.05320.08
5.6.280.0030.07721.11
5.6.210.0100.06320.47
5.6.200.0070.04018.23
5.6.190.0100.04320.60
5.6.180.0400.04020.56
5.6.170.0300.07320.55
5.6.160.0000.06320.53
5.6.150.0070.04018.21
5.6.140.0130.05718.18
5.6.130.0030.04018.20
5.6.120.0070.04021.02
5.6.110.0030.04020.99
5.6.100.0230.07020.99
5.6.90.0130.05321.02
5.6.80.0170.07720.36
5.5.350.0270.07720.45
5.5.340.0170.07317.93
5.5.330.0130.04320.28
5.5.320.0300.07020.30
5.5.310.0170.04020.32
5.5.300.0170.07317.91
5.5.290.0170.07017.98
5.5.280.0130.07020.88
5.5.270.0100.08020.62
5.5.260.0030.09320.84
5.5.250.0070.03720.78
5.5.240.0000.08720.29
5.4.450.0130.06019.27
5.4.440.0200.05719.39
5.4.430.0030.07019.32
5.4.420.0200.07719.27
5.4.410.0300.06719.36
5.4.400.0300.06019.10
5.4.390.0170.05319.28
5.4.380.0200.05019.12
5.4.370.0300.06319.29
5.4.360.0270.07018.79
5.4.350.0170.05018.90
5.4.340.0230.05318.79
5.4.320.0170.05319.30
5.4.310.0300.03719.05
5.4.300.0100.06018.77
5.4.290.0170.05019.27
5.4.280.0130.05319.31
5.4.270.0200.06318.75
5.4.260.0100.06019.28
5.4.250.0170.05019.15
5.4.240.0370.05719.14
5.4.230.0230.04719.14
5.4.220.0230.07018.89
5.4.210.0230.04319.14
5.4.200.0130.05318.89
5.4.190.0170.05319.13
5.4.180.0100.06019.18
5.4.170.0130.05719.23
5.4.160.0270.04019.23
5.4.150.0130.06018.88
5.4.140.0130.05016.46
5.4.130.0170.04716.48
5.4.120.0230.04016.19
5.4.110.0170.05016.56
5.4.100.0330.04716.49
5.4.90.0270.06016.56
5.4.80.0170.07016.28
5.4.70.0170.05016.48
5.4.60.0100.07016.34
5.4.50.0130.04716.51
5.4.40.0170.04316.47
5.4.30.0070.05316.46
5.4.20.0200.04316.42
5.4.10.0100.05716.36
5.4.00.0170.04715.95

preferences:
23.3 ms | 401 KiB | 5 Q