3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = array( 'q' => 'foo', 'w' => array( 'phone' => array ( '111', '222', 'leo' => array ( '333', '444' ), ), ), 'e' => 'bar' ); array_walk_recursive( $test, function( $v, $k ) { if ( is_array( $v ) ) print "да - значение этого ключа - массив\n"; else print "нет - значение этого ключа - не массив\n"; });
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ch3X9
function name:  (null)
number of ops:  7
compiled vars:  !0 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   15     1        INIT_FCALL                                               'array_walk_recursive'
          2        SEND_REF                                                 !0
          3        DECLARE_LAMBDA_FUNCTION                          ~2      [0]
   18     4        SEND_VAL                                                 ~2
   15     5        DO_ICALL                                                 
   18     6      > RETURN                                                   1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ch3X9
function name:  {closure}
number of ops:  8
compiled vars:  !0 = $v, !1 = $k
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   16     2        TYPE_CHECK                                  128          !0
          3      > JMPZ                                                     ~2, ->6
          4    >   ECHO                                                     '%D0%B4%D0%B0+-+%D0%B7%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D0%B5+%D1%8D%D1%82%D0%BE%D0%B3%D0%BE+%D0%BA%D0%BB%D1%8E%D1%87%D0%B0+-+%D0%BC%D0%B0%D1%81%D1%81%D0%B8%D0%B2%0A'
          5      > JMP                                                      ->7
   17     6    >   ECHO                                                     '%D0%BD%D0%B5%D1%82+-+%D0%B7%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D0%B5+%D1%8D%D1%82%D0%BE%D0%B3%D0%BE+%D0%BA%D0%BB%D1%8E%D1%87%D0%B0+-+%D0%BD%D0%B5+%D0%BC%D0%B0%D1%81%D1%81%D0%B8%D0%B2%0A'
   18     7    > > RETURN                                                   null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
190.2 ms | 1000 KiB | 14 Q