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);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cEDL9
function name:  (null)
number of ops:  15
compiled vars:  !0 = $information, !1 = $list
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   ASSIGN                                                   !0, <array>
   25     1        ASSIGN                                                   !1, 'login%2Ccustomer_id'
   27     2        INIT_FCALL                                               'print_r'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                                 
   28     5        ECHO                                                     '%0A%0A'
   29     6        INIT_STATIC_METHOD_CALL                                  'ABC', 'recursion'
          7        SEND_VAR                                                 !0
          8        SEND_VAR                                                 !1
          9        DO_FCALL                                      0          
   30    10        INIT_FCALL                                               'print_r'
         11        FETCH_STATIC_PROP_R          unknown             ~6      'array'
         12        SEND_VAL                                                 ~6
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Class ABC:
Function recursion:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cEDL9
function name:  recursion
number of ops:  7
compiled vars:  !0 = $information, !1 = $list
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    7     2        ASSIGN_STATIC_PROP                                       'array'
          3        OP_DATA                                                  !0
    8     4        ASSIGN_STATIC_PROP                                       'keylist'
          5        OP_DATA                                                  !1
    9     6      > RETURN                                                   null

End of function recursion

End of class ABC.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
194.21 ms | 1387 KiB | 15 Q