3v4l.org

run code in 500+ PHP versions simultaneously
<?php $arrays = [ ["ssl" => true], ["analytics" => true], [ "captchaResult" => "CAPTCHA_NOT_NEEDED", "kind" => "pagespeedonline#result", "responseCode" => 200 ] ]; $result = []; array_walk_recursive($arrays, function ($value, $key) use (&$result) { $result[$key] = $value; }); print_r($result); echo $result['ssl'];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZbQ0rK
function name:  (null)
number of ops:  14
compiled vars:  !0 = $arrays, !1 = $result
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
   12     1        ASSIGN                                                       !1, <array>
   13     2        INIT_FCALL                                                   'array_walk_recursive'
          3        SEND_REF                                                     !0
          4        DECLARE_LAMBDA_FUNCTION                              ~4      [0]
          5        BIND_LEXICAL                                                 ~4, !1
   15     6        SEND_VAL                                                     ~4
   13     7        DO_ICALL                                                     
   17     8        INIT_FCALL                                                   'print_r'
          9        SEND_VAR                                                     !1
         10        DO_ICALL                                                     
   19    11        FETCH_DIM_R                                          ~7      !1, 'ssl'
         12        ECHO                                                         ~7
         13      > RETURN                                                       1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZbQ0rK
function name:  {closure:/in/ZbQ0rK:13}
number of ops:  6
compiled vars:  !0 = $value, !1 = $key, !2 = $result
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   13     0  E >   RECV                                                 !0      
          1        RECV                                                 !1      
          2        BIND_STATIC                                                  !2
   14     3        ASSIGN_DIM                                                   !2, !1
          4        OP_DATA                                                      !0
   15     5      > RETURN                                                       null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
166.4 ms | 2576 KiB | 15 Q