3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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();
based on 1u3cD
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function recursionInitiatorParent() in /in/c6Ufm:37 Stack trace: #0 {main} thrown in /in/c6Ufm on line 37
Process exited with code 255.
Output for 5.3.19 - 5.6.28
Fatal error: Call to undefined function recursionInitiatorParent() in /in/c6Ufm on line 37
Process exited with code 255.