3v4l.org

run code in 300+ PHP versions simultaneously
<?php class ABC { public static function recursion($information, $list) { self::$array = $information; self::$keylist = $list; } public static $array; private static $keylist; private static $asterisk = "**"; } $information = array("login" => "someUsername", "password" => "somePassword", "card_pin"=>"card_1234", "pin"=>"pin_356", "iin" => "iin_123", "shipping" => array("telephone" => array("value" => "telephone_998")), "cardnumber" => "card_number_876", "customer_id" => "customer_654", "telephone" => "someOtherTelephoneNumber555"); $list = "login,customer_id"; print_r($information); echo "\n\n"; ABC::recursion($information, $list); print_r(Recursion::$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.3.40.0090.00618.87
8.3.30.0090.00618.83
8.3.20.0000.00820.24
8.3.10.0040.00423.61
8.3.00.0040.00419.34
8.2.170.0080.00622.96
8.2.160.0070.00722.14
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0090.00317.50
8.2.120.0050.00326.35
8.2.110.0100.00020.34
8.2.100.0060.00617.91
8.2.90.0040.00419.11
8.2.80.0080.00017.97
8.2.70.0090.00017.50
8.2.60.0060.00318.04
8.2.50.0060.00318.07
8.2.40.0000.00819.35
8.2.30.0000.00720.70
8.2.20.0090.00017.75
8.2.10.0000.00818.13
8.2.00.0000.00718.07
8.1.270.0000.00822.02
8.1.260.0000.00728.09
8.1.250.0070.00028.09
8.1.240.0050.00323.98
8.1.230.0080.00617.66
8.1.220.0050.00317.74
8.1.210.0050.00518.77
8.1.200.0000.00917.48
8.1.190.0040.00717.36
8.1.180.0040.00418.10
8.1.170.0040.00418.76
8.1.160.0040.00421.87
8.1.150.0000.00918.77
8.1.140.0060.00319.53
8.1.130.0080.00017.64
8.1.120.0040.00417.44
8.1.110.0030.00417.45
8.1.100.0070.00017.38
8.1.90.0000.00717.43
8.1.80.0000.00717.30
8.1.70.0030.00317.41
8.1.60.0060.00317.65
8.1.50.0060.00317.48
8.1.40.0000.00817.39
8.1.30.0060.00317.70
8.1.20.0060.00317.55
8.1.10.0040.00417.49
8.1.00.0000.00817.44
8.0.300.0000.00718.77
8.0.290.0050.00216.88
8.0.280.0030.00318.48
8.0.270.0070.00017.18
8.0.260.0000.00617.25
8.0.250.0000.00816.95
8.0.240.0000.00816.88
8.0.230.0030.00616.84
8.0.220.0000.00716.86
8.0.210.0060.00316.81
8.0.200.0000.00616.98
8.0.190.0070.00316.96
8.0.180.0000.00716.94
8.0.170.0000.00716.93
8.0.160.0030.00316.89
8.0.150.0040.00416.86
8.0.140.0080.00016.83
8.0.130.0000.00613.29
8.0.120.0040.00416.87
8.0.110.0040.00416.93
8.0.100.0040.00416.91
8.0.90.0040.00416.94
8.0.80.0110.00616.90
8.0.70.0070.00016.95
8.0.60.0040.00416.75
8.0.50.0070.00016.73
8.0.30.0160.00317.06
8.0.20.0100.01117.40
8.0.10.0000.00817.00
8.0.00.0120.00516.75
7.4.330.0070.00015.08
7.4.320.0060.00016.47
7.4.300.0030.00316.50
7.4.290.0030.00316.60
7.4.280.0000.00816.46
7.4.270.0030.00316.52
7.4.260.0040.00416.61
7.4.250.0040.00416.59
7.4.240.0020.00516.56
7.4.230.0070.00016.52
7.4.220.0150.00316.64
7.4.210.0080.00516.54
7.4.200.0000.00716.59
7.4.160.0040.01216.49
7.4.150.0180.00017.40
7.4.140.0080.01417.86
7.4.130.0080.01016.60
7.4.120.0090.00916.57
7.4.110.0100.01016.52
7.4.100.0070.01716.48
7.4.90.0070.01016.53
7.4.80.0120.00619.39
7.4.70.0060.01516.56
7.4.60.0030.01316.53
7.4.50.0090.00616.37
7.4.40.0110.00516.38
7.4.30.0110.00716.58
7.4.10.0060.01215.05
7.4.00.0080.00914.94
7.3.330.0000.00713.44
7.3.320.0000.00513.45
7.3.310.0040.00416.46
7.3.300.0030.00316.45
7.3.290.0080.00816.42
7.3.280.0080.00816.39
7.3.270.0000.01717.40
7.3.260.0100.01316.53
7.3.250.0110.00816.48
7.3.240.0060.01216.49
7.3.230.0110.00616.39
7.3.210.0170.00616.39
7.3.200.0060.01116.44
7.3.190.0100.00516.42
7.3.180.0060.01016.50
7.3.170.0090.00616.45
7.3.160.0060.00916.34
7.3.130.0090.00915.05
7.3.120.0100.01014.90
7.3.110.0070.01114.81
7.3.100.0050.00515.06
7.3.90.0070.00714.78
7.3.80.0100.00314.91
7.3.70.0040.01214.81
7.3.60.0100.00014.80
7.3.50.0040.00414.75
7.3.40.0030.01014.94
7.3.30.0080.00014.75
7.3.20.0030.00716.62
7.3.10.0070.00716.61
7.3.00.0060.00616.75
7.2.330.0080.00816.72
7.2.320.0150.00316.75
7.2.310.0060.01016.42
7.2.300.0180.00316.33
7.2.290.0110.00816.65
7.2.260.0060.01215.07
7.2.250.0110.00614.92
7.2.240.0110.00415.11
7.2.230.0060.00914.89
7.2.220.0070.00715.09
7.2.210.0120.00015.16
7.2.200.0030.01014.72
7.2.190.0000.01014.77
7.2.180.0000.01415.09
7.2.170.0030.01214.97
7.2.160.0110.00414.99
7.2.150.0050.00516.93
7.2.140.0060.00916.63
7.2.130.0070.01116.95
7.2.120.0090.00316.96
7.2.110.0070.00716.88
7.2.100.0100.00716.84
7.2.90.0070.00716.88
7.2.80.0120.00316.96
7.2.70.0110.00316.68
7.2.60.0050.01116.87
7.2.50.0100.00616.87
7.2.40.0000.01316.82
7.2.30.0070.01016.93
7.2.20.0040.01416.93
7.2.10.0080.00616.89
7.2.00.0060.01018.04
7.1.330.0060.00615.88
7.1.320.0070.01015.73
7.1.310.0000.01215.57
7.1.300.0070.00715.68
7.1.290.0030.01015.46
7.1.280.0030.00915.73
7.1.270.0070.00715.39
7.1.260.0030.00915.79
7.1.250.0060.00615.69
7.1.240.0100.00315.80
7.1.230.0070.00715.61
7.1.220.0030.00915.39
7.1.210.0100.00715.81
7.1.200.0040.00715.62
7.1.190.0120.00415.56
7.1.180.0060.00815.77
7.1.170.0080.00415.71
7.1.160.0100.00315.64
7.1.150.0040.00815.39
7.1.140.0040.00415.72
7.1.130.0040.01115.86
7.1.120.0040.01115.73
7.1.110.0090.00615.63
7.1.100.0040.00916.96
7.1.90.0040.01115.54
7.1.80.0030.00715.84
7.1.70.0060.00516.38
7.1.60.0020.01717.62
7.1.50.0050.01116.23
7.1.40.0060.00315.83
7.1.30.0040.00715.61
7.1.20.0030.00715.64
7.1.10.0030.01015.46
7.1.00.0050.04119.05
7.0.330.0090.00315.01
7.0.320.0060.00615.37
7.0.310.0090.00615.51
7.0.300.0030.01015.56
7.0.290.0030.00515.36
7.0.280.0000.00915.54
7.0.270.0000.01015.29
7.0.260.0060.00915.36
7.0.250.0070.01015.36
7.0.240.0060.00315.58
7.0.230.0110.00415.56
7.0.220.0070.01015.43
7.0.210.0090.00615.25
7.0.200.0230.00514.94
7.0.190.0070.00315.54
7.0.180.0060.00615.17
7.0.170.0030.01015.32
7.0.160.0100.00315.05
7.0.150.0040.01115.45
7.0.140.0000.01715.22
7.0.130.0030.01215.59
7.0.120.0070.00715.50
7.0.110.0030.01315.40
7.0.100.0030.00715.29
7.0.90.0110.00315.23
7.0.80.0030.01015.55
7.0.70.0040.00815.33
7.0.60.0070.04717.74
7.0.50.0050.03216.69
7.0.40.0080.03616.84
7.0.30.0150.03016.87
7.0.20.0190.03916.74
7.0.10.0080.04416.82
7.0.00.0080.04816.82
5.6.400.0000.00814.20
5.6.390.0030.01214.64
5.6.380.0050.00513.98
5.6.370.0000.01214.35
5.6.360.0060.00614.22
5.6.350.0030.01014.46
5.6.340.0110.00414.59
5.6.330.0100.00314.19
5.6.320.0030.00714.47
5.6.310.0090.00614.54
5.6.300.0030.01013.96
5.6.290.0100.00014.27
5.6.280.0020.03517.62
5.6.270.0070.01114.36
5.6.260.0000.01113.96
5.6.250.0070.00714.00
5.6.240.0040.01114.61
5.6.230.0060.00314.30
5.6.220.0060.00914.13
5.6.210.0060.04117.50
5.6.200.0050.02516.34
5.6.190.0050.04017.31
5.6.180.0190.04217.53
5.6.170.0160.02517.45
5.6.160.0020.05017.38
5.6.150.0050.03616.19
5.6.140.0040.03516.40
5.6.130.0090.04416.09
5.6.120.0060.03817.68
5.6.110.0030.02817.69
5.6.100.0030.04817.49
5.6.90.0050.03317.65
5.6.80.0050.04017.28
5.6.70.0060.01114.39
5.6.60.0030.01214.20
5.6.50.0140.00414.22
5.6.40.0090.00014.50
5.6.30.0060.00914.23
5.6.20.0040.01114.56
5.6.10.0100.00314.39
5.6.00.0030.00614.24
5.5.380.0000.01114.27
5.5.370.0040.01214.02
5.5.360.0030.01014.44
5.5.350.0070.04417.48
5.5.340.0070.03816.02
5.5.330.0050.02517.35
5.5.320.0150.04217.26
5.5.310.0180.04417.19
5.5.300.0070.04715.93
5.5.290.0050.02516.03
5.5.280.0050.03917.54
5.5.270.0050.04517.44
5.5.260.0030.03517.71
5.5.250.0040.02517.44
5.5.240.0180.03517.19
5.5.230.0000.01314.32
5.5.220.0030.01014.41
5.5.210.0000.01114.34
5.5.200.0080.00014.17
5.5.190.0040.00714.36
5.5.180.0040.01114.19
5.5.170.0060.00314.28
5.5.160.0040.00714.33
5.5.150.0080.00414.21
5.5.140.0060.01014.34
5.5.130.0030.00814.16
5.5.120.0030.00613.79
5.5.110.0070.00714.04
5.5.100.0100.00014.12
5.5.90.0060.00614.25
5.5.80.0030.00614.44
5.5.70.0000.00814.05
5.5.60.0090.00614.12
5.5.50.0030.00514.30
5.5.40.0070.00714.30
5.5.30.0050.00514.17
5.5.20.0060.00614.25
5.5.10.0030.00914.34
5.5.00.0160.00013.95

preferences:
48.04 ms | 400 KiB | 5 Q