3v4l.org

run code in 300+ PHP versions simultaneously
<?php function printArray($array) { print_r($array); } function recursionInitiatorParent($array, $keylist) { $keywords = explode(",", $keylist); foreach($keywords as $key) { echo $key; } } $asterisk = "**"; $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"); $keylist = "telephone,iin"; recursionInitiatorParent($array, $keylist);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1u3cD
function name:  (null)
number of ops:  8
compiled vars:  !0 = $asterisk, !1 = $array, !2 = $keylist
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   17     0  E >   ASSIGN                                                   !0, '%2A%2A'
   18     1        ASSIGN                                                   !1, <array>
   26     2        ASSIGN                                                   !2, 'telephone%2Ciin'
   27     3        INIT_FCALL                                               'recursioninitiatorparent'
          4        SEND_VAR                                                 !1
          5        SEND_VAR                                                 !2
          6        DO_FCALL                                      0          
          7      > RETURN                                                   1

Function printarray:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1u3cD
function name:  printArray
number of ops:  5
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    4     1        INIT_FCALL                                               'print_r'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
    5     4      > RETURN                                                   null

End of function printarray

Function recursioninitiatorparent:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 11
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/1u3cD
function name:  recursionInitiatorParent
number of ops:  13
compiled vars:  !0 = $array, !1 = $keylist, !2 = $keywords, !3 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    9     2        INIT_FCALL                                               'explode'
          3        SEND_VAL                                                 '%2C'
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !2, $4
   11     7      > FE_RESET_R                                       $6      !2, ->11
          8    > > FE_FETCH_R                                               $6, !3, ->11
   13     9    >   ECHO                                                     !3
   11    10      > JMP                                                      ->8
         11    >   FE_FREE                                                  $6
   15    12      > RETURN                                                   null

End of function recursioninitiatorparent

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.17 ms | 1399 KiB | 18 Q