3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_POST["balle"]["x"] = 7; $_POST["balle"]["y"] = 32; $_POST["balle"]["z"] = 17; function Check_post($array,$needle) { if(is_array($array)) { foreach($array as $key=>$value) { if($key == $needle) { return "1"; } else { if(is_array($value)) { check_post($value,$needle); } } } } } $needle = "z"; //$samp = Check_post($_POST,$needle); $samp = Check_post($_POST,$needle); ?>

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.0040.01118.33
8.3.50.0090.01121.99
8.3.40.0080.00818.84
8.3.30.0100.00319.17
8.3.20.0040.00420.20
8.3.10.0060.00621.92
8.3.00.0000.00722.57
8.2.180.0150.00618.13
8.2.170.0060.01622.96
8.2.160.0110.00420.39
8.2.150.0100.00024.18
8.2.140.0080.00024.66
8.2.130.0110.00426.16
8.2.120.0050.00517.59
8.2.110.0060.00322.25
8.2.100.0120.00017.84
8.2.90.0090.00019.34
8.2.80.0040.00417.97
8.2.70.0060.00317.48
8.2.60.0090.00018.04
8.2.50.0060.00318.07
8.2.40.0030.00518.28
8.2.30.0040.00418.14
8.2.20.0040.00417.73
8.2.10.0060.00319.45
8.2.00.0080.00017.81
8.1.280.0070.01425.92
8.1.270.0080.00022.23
8.1.260.0070.00026.35
8.1.250.0050.00328.09
8.1.240.0040.00423.99
8.1.230.0060.00619.16
8.1.220.0020.00517.78
8.1.210.0000.00818.77
8.1.200.0090.00017.23
8.1.190.0030.00517.63
8.1.180.0060.00318.10
8.1.170.0030.00518.59
8.1.160.0000.00721.96
8.1.150.0040.00418.70
8.1.140.0060.00317.50
8.1.130.0070.00017.75
8.1.120.0000.00817.48
8.1.110.0040.00417.45
8.1.100.0050.00317.45
8.1.90.0000.00817.41
8.1.80.0000.00717.37
8.1.70.0030.00317.46
8.1.60.0040.00417.65
8.1.50.0080.00017.48
8.1.40.0050.00317.50
8.1.30.0000.00717.48
8.1.20.0040.00417.68
8.1.10.0040.00417.41
8.1.00.0040.00417.48
8.0.300.0070.00018.77
8.0.290.0000.00717.16
8.0.280.0070.00018.46
8.0.270.0040.00417.14
8.0.260.0000.00616.84
8.0.250.0030.00316.84
8.0.240.0070.00017.00
8.0.230.0030.00317.00
8.0.220.0070.00016.93
8.0.210.0030.00316.91
8.0.200.0040.00416.88
8.0.190.0050.00216.94
8.0.180.0040.00416.96
8.0.170.0000.00816.97
8.0.160.0000.00716.93
8.0.150.0050.00216.93
8.0.140.0040.00416.85
8.0.130.0060.00013.31
8.0.120.0040.00416.83
8.0.110.0040.00416.90
8.0.100.0070.00016.71
8.0.90.0040.00416.75
8.0.80.0070.00716.96
8.0.70.0000.00816.75
8.0.60.0040.00416.79
8.0.50.0040.00416.80
8.0.30.0090.01016.99
8.0.20.0140.00617.40
8.0.10.0020.00516.86
8.0.00.0100.01116.79
7.4.330.0040.00415.00
7.4.320.0030.00316.52
7.4.300.0030.00716.60
7.4.290.0000.00716.51
7.4.280.0040.00416.65
7.4.270.0030.00316.50
7.4.260.0040.00216.63
7.4.250.0040.00416.62
7.4.240.0070.00116.53
7.4.230.0030.00316.51
7.4.220.0030.01416.46
7.4.210.0070.01016.62
7.4.200.0000.00716.42
7.4.190.0040.00416.76
7.4.160.0040.01916.66
7.4.150.0100.00617.40
7.4.140.0080.01117.86
7.4.130.0100.00916.44
7.4.120.0070.01016.37
7.4.110.0140.00316.69
7.4.100.0120.00616.36
7.4.90.0130.00416.34
7.4.80.0090.01219.39
7.4.70.0160.00616.49
7.4.60.0100.00616.40
7.4.50.0090.00016.59
7.4.40.0110.00422.77
7.4.30.0060.01016.69
7.4.00.0080.00514.80
7.3.330.0030.00313.24
7.3.320.0030.00213.37
7.3.310.0040.00416.33
7.3.300.0030.00316.33
7.3.290.0090.00616.39
7.3.280.0070.01016.38
7.3.270.0120.00617.40
7.3.260.0100.00716.44
7.3.250.0110.00716.51
7.3.240.0080.00816.57
7.3.230.0110.00616.39
7.3.210.0120.00616.67
7.3.200.0090.00919.39
7.3.190.0190.00416.51
7.3.180.0060.01116.57
7.3.170.0060.01116.35
7.3.160.0090.00916.54
7.3.120.0040.00914.88
7.3.110.0060.00914.97
7.3.100.0030.01115.08
7.3.90.0080.00415.03
7.3.80.0000.01014.81
7.3.70.0030.01014.71
7.3.60.0060.00914.84
7.3.50.0000.01414.85
7.3.40.0060.00614.91
7.3.30.0030.00914.86
7.3.20.0030.00616.59
7.3.10.0060.00616.58
7.3.00.0030.01016.52
7.2.330.0090.00816.83
7.2.320.0130.01016.80
7.2.310.0030.01316.63
7.2.300.0100.01016.65
7.2.290.0100.01016.81
7.2.250.0030.01515.03
7.2.240.0060.01215.39
7.2.230.0030.00615.31
7.2.220.0100.00715.04
7.2.210.0070.00715.02
7.2.200.0000.01014.98
7.2.190.0090.00914.91
7.2.180.0070.00315.07
7.2.170.0040.01214.98
7.2.00.0060.00619.24
7.1.330.0060.00915.93
7.1.320.0030.00615.72
7.1.310.0070.00415.99
7.1.300.0050.00515.83
7.1.290.0040.00815.59
7.1.280.0070.00715.90
7.1.270.0140.00015.96
7.1.260.0090.00315.81
7.1.100.0950.01116.31
7.1.70.0000.01017.09
7.1.60.0040.02119.82
7.1.50.0090.01316.69
7.1.00.0070.07322.30
7.0.200.0030.00716.91
7.0.140.0070.07021.99
7.0.100.0570.07019.95
7.0.90.0470.07320.03
7.0.80.0400.07319.93
7.0.70.0030.08720.02
7.0.60.0100.06719.98
7.0.50.0070.05720.27
7.0.40.0130.07319.95
7.0.30.0070.07720.04
7.0.20.0130.07320.15
7.0.10.0070.08320.14
7.0.00.0070.08320.08
5.6.280.0000.07721.13
5.6.250.0030.08720.54
5.6.240.0130.07020.60
5.6.230.0070.08020.63
5.6.220.0070.08720.57
5.6.210.0130.08020.62
5.6.200.0030.09021.04
5.6.190.0170.06321.14
5.6.180.0130.07721.07
5.6.170.0170.07321.09
5.6.160.0070.08021.11
5.6.150.0070.08321.09
5.6.140.0070.07321.11
5.6.130.0070.08721.12
5.6.120.0070.08721.08
5.6.110.0130.07721.05
5.6.100.0070.07321.02
5.6.90.0000.09021.01
5.6.80.0070.07020.51
5.6.70.0100.04320.57
5.6.60.0070.06320.51
5.6.50.0030.07720.43
5.6.40.0070.08020.30
5.6.30.0170.04720.41
5.6.20.0100.05320.45
5.6.10.0030.08320.38
5.6.00.0000.08320.31
5.5.380.0130.07020.42
5.5.370.0070.08720.36
5.5.360.0030.08020.43
5.5.350.0070.06020.42
5.5.340.0070.07320.89
5.5.330.0070.06320.79
5.5.320.0070.07320.90
5.5.310.0130.07320.91
5.5.300.0070.07720.84
5.5.290.0100.07720.64
5.5.280.0100.07320.80
5.5.270.0070.08720.72
5.5.260.0070.08320.82
5.5.250.0000.05720.64
5.5.240.0100.07020.30
5.5.230.0030.07020.30
5.5.220.0030.08020.20
5.5.210.0070.04320.02
5.5.200.0200.06320.09
5.5.190.0030.08720.11
5.5.180.0070.07720.24
5.5.160.0100.07320.29
5.5.150.0000.08320.19
5.5.140.0070.07720.24
5.5.130.0070.07320.13
5.5.120.0070.05319.98
5.5.110.0170.07020.12
5.5.100.0200.07020.18
5.5.90.0070.06019.95
5.5.80.0100.07020.07
5.5.70.0100.07320.07
5.5.60.0070.08020.01
5.5.50.0130.06020.03
5.5.40.0070.08320.15
5.5.30.0100.07019.96
5.5.20.0070.07720.04
5.5.10.0030.07720.11
5.5.00.0030.07720.08
5.4.450.0100.08019.23
5.4.440.0100.07319.48
5.4.430.0100.08019.41
5.4.420.0130.06719.50
5.4.410.0100.07019.43
5.4.400.0100.04019.13
5.4.390.0130.05718.86
5.4.380.0130.06719.04
5.4.370.0070.07319.21
5.4.360.0000.08719.21
5.4.350.0070.06718.88
5.4.340.0130.06719.13
5.4.320.0070.06318.88
5.4.310.0030.07719.23
5.4.300.0030.07718.88
5.4.290.0070.07019.05
5.4.280.0130.03319.23
5.4.270.0100.07018.95
5.4.260.0100.07719.18
5.4.250.0100.06719.06
5.4.240.0100.07319.04
5.4.230.0100.07318.84
5.4.220.0130.07019.21
5.4.210.0030.05019.04
5.4.200.0100.06719.09
5.4.190.0070.06719.03
5.4.180.0000.08719.20
5.4.170.0130.07019.04
5.4.160.0000.05719.03
5.4.150.0200.06018.93
5.4.140.0170.06716.39
5.4.130.0070.06716.29
5.4.120.0100.06316.36
5.4.110.0030.07716.33
5.4.100.0070.07316.32
5.4.90.0130.06316.52
5.4.80.0100.07016.50
5.4.70.0100.06016.33
5.4.60.0000.05016.49
5.4.50.0030.07716.34
5.4.40.0030.07016.52
5.4.30.0100.07316.47
5.4.20.0070.06316.32
5.4.10.0130.04716.45
5.4.00.0130.06315.73
5.3.290.0100.07014.70
5.3.280.0030.08014.73
5.3.270.0070.08014.72
5.3.260.0100.07714.67
5.3.250.0130.05714.72
5.3.240.0070.04314.70
5.3.230.0030.07714.55
5.3.220.0100.07714.59
5.3.210.0130.06714.59
5.3.200.0030.08314.68
5.3.190.0130.07014.55
5.3.180.0070.07714.62
5.3.170.0000.08314.62
5.3.160.0100.07014.61
5.3.150.0030.04714.49
5.3.140.0030.08014.68
5.3.130.0070.08014.54
5.3.120.0100.07314.61
5.3.110.0130.06314.53
5.3.100.0130.06714.10
5.3.90.0000.05314.08
5.3.80.0170.03014.13
5.3.70.0070.06713.97
5.3.60.0000.04313.92
5.3.50.0000.04014.04
5.3.40.0030.04014.01
5.3.30.0070.03313.86
5.3.20.0100.03013.75
5.3.10.0000.03713.64
5.3.00.0000.03713.55
5.2.170.0000.03711.18
5.2.160.0000.03711.06
5.2.150.0030.03011.13
5.2.140.0030.03011.05
5.2.130.0070.03311.04
5.2.120.0030.02711.20
5.2.110.0000.03710.99
5.2.100.0000.03011.16
5.2.90.0070.04011.11
5.2.80.0070.02311.10
5.2.70.0070.02311.11
5.2.60.0070.04311.09
5.2.50.0000.03011.03
5.2.40.0000.03010.92
5.2.30.0100.03710.91
5.2.20.0130.05010.89
5.2.10.0000.05711.00
5.2.00.0000.04310.85
5.1.60.0000.04310.04
5.1.50.0000.0279.99
5.1.40.0070.04310.00
5.1.30.0030.05010.25
5.1.20.0070.02010.38
5.1.10.0070.03310.07
5.1.00.0000.02710.11
5.0.50.0030.0438.70
5.0.40.0030.0178.70
5.0.30.0030.0378.70
5.0.20.0030.0278.70
5.0.10.0000.0208.70
5.0.00.0000.0308.70
4.4.90.0070.0338.70
4.4.80.0070.0238.70
4.4.70.0000.0338.70
4.4.60.0000.0338.70
4.4.50.0030.0308.70
4.4.40.0000.0378.70
4.4.30.0030.0178.70
4.4.20.0000.0208.70
4.4.10.0030.0178.70
4.4.00.0000.0238.70
4.3.110.0030.0138.70
4.3.100.0000.0178.70
4.3.90.0030.0378.70
4.3.80.0030.0238.70
4.3.70.0000.0238.70
4.3.60.0030.0138.70
4.3.50.0000.0138.70
4.3.40.0000.0238.70
4.3.30.0030.0138.70
4.3.20.0000.0178.70
4.3.10.0000.0178.70
4.3.00.0000.0138.70

preferences:
42.51 ms | 401 KiB | 5 Q