3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Recursion { function printArray($array) { print_r($array); } public static function recursionInitiatorParent() { $keywords = explode(",", $keylist); foreach($keywords as $key) { echo $key; } } private static function recursionInitiator() { } private static $asterisk = "**"; private static $array = array("login" => "someUsername", "password" => "somePassword", "card_pin"=>"card_1234", "pin"=>"pin_356", "iin" => "iin_123", "shipping" => array("telephone" => "telephone_998"), "cardnumber" => "card_number_876", "customer_id" => "customer_654"); private static $keylist = "telephone,iin"; } recursionInitiatorParent();

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.0080.00816.63
8.3.60.0090.00916.50
8.3.50.0110.00721.93
8.3.40.0110.00419.02
8.3.30.0070.00718.67
8.3.20.0080.00020.18
8.3.10.0080.00023.39
8.3.00.0080.00019.38
8.2.190.0120.00618.18
8.2.180.0000.01518.30
8.2.170.0070.00722.96
8.2.160.0090.00622.03
8.2.150.0110.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00817.50
8.2.120.0040.00426.35
8.2.110.0030.00722.13
8.2.100.0120.00017.80
8.2.90.0030.00619.14
8.2.80.0000.00817.97
8.2.70.0030.00617.63
8.2.60.0060.00617.90
8.2.50.0080.00018.07
8.2.40.0030.00619.30
8.2.30.0000.00720.61
8.2.20.0050.00517.56
8.2.10.0040.00417.92
8.2.00.0080.00018.00
8.1.280.0090.00625.92
8.1.270.0040.00422.09
8.1.260.0030.00528.09
8.1.250.0040.00428.09
8.1.240.0000.00922.45
8.1.230.0040.00717.66
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0000.00917.25
8.1.190.0000.00816.98
8.1.180.0060.00318.10
8.1.170.0050.00318.53
8.1.160.0030.00521.95
8.1.150.0000.00718.76
8.1.140.0030.00519.45
8.1.130.0000.00717.58
8.1.120.0070.00017.34
8.1.110.0070.00017.25
8.1.100.0000.00817.27
8.1.90.0070.00017.34
8.1.80.0030.00717.35
8.1.70.0000.00717.32
8.1.60.0000.00917.51
8.1.50.0040.00417.35
8.1.40.0000.00817.47
8.1.30.0000.00817.60
8.1.20.0000.00717.43
8.1.10.0040.00417.47
8.1.00.0060.00617.36
8.0.300.0060.00318.77
8.0.290.0070.00016.63
8.0.280.0050.00218.31
8.0.270.0030.00517.12
8.0.260.0000.00717.20
8.0.250.0000.00716.93
8.0.240.0040.00417.00
8.0.230.0070.00016.97
8.0.220.0040.00416.79
8.0.210.0030.00516.89
8.0.200.0000.00716.82
8.0.190.0020.00517.02
8.0.180.0000.00716.76
8.0.170.0030.00616.89
8.0.160.0030.00517.00
8.0.150.0110.00016.80
8.0.140.0000.00716.73
8.0.130.0030.00313.31
8.0.120.0080.00016.84
8.0.110.0000.00816.80
8.0.100.0080.00016.93
8.0.90.0040.00416.96
8.0.80.0120.00316.78
8.0.70.0030.00516.75
8.0.60.0050.00316.86
8.0.50.0080.00016.84
8.0.30.0070.01316.99
8.0.20.0170.00617.40
8.0.10.0000.00917.04
8.0.00.0070.01116.71
7.4.330.0000.00515.08
7.4.320.0030.00316.31
7.4.300.0060.00016.35
7.4.290.0030.00516.36
7.4.280.0040.00416.34
7.4.270.0040.00416.43
7.4.260.0030.00316.46
7.4.250.0000.00816.53
7.4.240.0020.00516.47
7.4.230.0000.00716.43
7.4.220.0040.01416.54
7.4.210.0090.00616.47
7.4.200.0070.00016.44
7.4.160.0080.00816.57
7.4.150.0130.00617.40
7.4.140.0060.01517.86
7.4.130.0100.00716.37
7.4.120.0090.00816.46
7.4.110.0060.01216.53
7.4.100.0070.01716.34
7.4.90.0130.00516.42
7.4.80.0090.01319.39
7.4.70.0030.01416.52
7.4.60.0140.00416.63
7.4.50.0030.0035.95
7.4.40.0090.01216.51
7.4.30.0110.01116.17
7.4.00.0070.00714.82
7.3.330.0050.00013.37
7.3.320.0050.00013.27
7.3.310.0030.00616.19
7.3.300.0000.00716.16
7.3.290.0060.01016.30
7.3.280.0080.01016.29
7.3.270.0170.00017.40
7.3.260.0080.00816.32
7.3.250.0090.01116.45
7.3.240.0070.01116.24
7.3.230.0080.00816.39
7.3.210.0130.01016.52
7.3.200.0030.01316.33
7.3.190.0130.00316.59
7.3.180.0080.00816.30
7.3.170.0130.00916.39
7.3.160.0100.00716.37
7.3.10.0100.00716.54
7.3.00.0070.00716.75
7.2.330.0090.01216.68
7.2.320.0030.01316.48
7.2.310.0130.00316.27
7.2.300.0060.01216.57
7.2.290.0120.00916.23
7.2.130.0070.01016.83
7.2.120.0060.00916.79
7.2.110.0080.00816.92
7.2.100.0040.00816.48
7.2.90.0030.01416.72
7.2.80.0070.00716.48
7.2.70.0070.01016.82
7.2.60.0100.00316.69
7.2.50.0090.00616.66
7.2.40.0040.00816.90
7.2.30.0060.01016.61
7.2.20.0080.00816.89
7.2.10.0060.01216.85
7.2.00.0040.00917.97
7.1.250.0070.00715.34
7.1.200.0100.00015.49
7.1.100.0100.00318.01
7.1.70.0000.00817.07
7.1.60.0030.01319.48
7.1.50.0100.00616.62
7.1.00.0030.07722.33
7.0.200.0000.01116.65
7.0.60.0030.08720.06
7.0.50.0030.06317.95
7.0.40.0070.04720.23
7.0.30.0030.04720.26
7.0.20.0230.04020.08
7.0.10.0070.04320.24
7.0.00.0170.07020.12
5.6.280.0130.04720.82
5.6.210.0130.07320.49
5.6.200.0170.04318.27
5.6.190.0070.08320.55
5.6.180.0200.06720.49
5.6.170.0230.07720.58
5.6.160.0100.06320.54
5.6.150.0030.06318.18
5.6.140.0070.04318.19
5.6.130.0000.06018.28
5.6.120.0070.06721.07
5.6.110.0100.07021.14
5.6.100.0100.08321.01
5.6.90.0030.04321.14
5.6.80.0100.08020.35
5.5.350.3370.03720.45
5.5.340.0070.06318.07
5.5.330.0100.08020.25
5.5.320.0130.04720.43
5.5.310.0300.07020.26
5.5.300.0030.08317.98
5.5.290.0070.06717.93
5.5.280.0000.04320.99
5.5.270.0130.07720.73
5.5.260.0100.06720.98
5.5.250.0000.04320.48
5.5.240.0270.04320.05

preferences:
56.56 ms | 401 KiB | 5 Q