3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BWQi6
function name:  (null)
number of ops:  16
compiled vars:  !0 = $data, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   ASSIGN                                                   !0, <array>
   11     1        ASSIGN                                                   !1, 1
   13     2        INIT_FCALL                                               'wrapper'
          3        SEND_VAR                                                 !0
          4        DECLARE_LAMBDA_FUNCTION                          ~4      [0]
          5        BIND_LEXICAL                                             ~4, !1
   17     6        SEND_VAL                                                 ~4
   13     7        DO_FCALL                                      0          
   19     8        ECHO                                                     '%0A'
   21     9        INIT_FCALL                                               'wrapper'
         10        SEND_VAR                                                 !0
         11        DECLARE_LAMBDA_FUNCTION                          ~6      [1]
         12        BIND_LEXICAL                                             ~6, !1
   25    13        SEND_VAL                                                 ~6
   21    14        DO_FCALL                                      0          
   25    15      > 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/BWQi6
function name:  {closure}
number of ops:  8
compiled vars:  !0 = $item, !1 = $i, !2 = $tmp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   RECV                                             !0      
          1        BIND_STATIC                                              !1
   14     2        ADD                                              ~3      !0, !1
          3        ASSIGN                                                   !2, ~3
   15     4        CONCAT                                           ~5      !2, '%0A'
          5        ECHO                                                     ~5
   16     6        PRE_INC                                                  !1
   17     7      > RETURN                                                   null

End of Dynamic Function 0

Dynamic Function 1
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BWQi6
function name:  {closure}
number of ops:  8
compiled vars:  !0 = $item, !1 = $i, !2 = $tmp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   21     0  E >   RECV                                             !0      
          1        BIND_STATIC                                              !1
   22     2        ADD                                              ~3      !0, !1
          3        ASSIGN                                                   !2, ~3
   23     4        CONCAT                                           ~5      !2, '%0A'
          5        ECHO                                                     ~5
   24     6        PRE_INC                                                  !1
   25     7      > RETURN                                                   null

End of Dynamic Function 1

Function wrapper:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 8
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 8
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/BWQi6
function name:  wrapper
number of ops:  10
compiled vars:  !0 = $array, !1 = $callback, !2 = $item
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    5     2      > FE_RESET_R                                       $3      !0, ->8
          3    > > FE_FETCH_R                                               $3, !2, ->8
    6     4    >   INIT_DYNAMIC_CALL                                        !1
          5        SEND_VAR_EX                                              !2
          6        DO_FCALL                                      0          
    5     7      > JMP                                                      ->3
          8    >   FE_FREE                                                  $3
    8     9      > RETURN                                                   null

End of function wrapper

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
300.95 ms | 975 KiB | 15 Q