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/ve3BL
function name:  (null)
number of ops:  25
compiled vars:  !0 = $x, !1 = $fn, !2 = $y
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   NEW                                              $3      'C'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $3
    7     3        DECLARE_LAMBDA_FUNCTION                          ~6      [0]
          4        BIND_LEXICAL                                             ~6, !0
          5        BIND_LEXICAL                                             ~6, !2
          6        ASSIGN                                                   !1, ~6
    8     7        ECHO                                                     '-+unsetting+%24x'
          8        ECHO                                                     '%0A'
    9     9        UNSET_CV                                                 !0
   10    10        ECHO                                                     '-+calling+%24fn'
         11        ECHO                                                     '%0A'
   11    12        INIT_FCALL                                               'var_dump'
         13        INIT_DYNAMIC_CALL                                        !1
         14        SEND_VAL_EX                                              3
         15        SEND_VAL_EX                                              2
         16        DO_FCALL                                      0  $8      
         17        SEND_VAR                                                 $8
         18        DO_ICALL                                                 
   12    19        ECHO                                                     '-+unsetting+%24fn'
         20        ECHO                                                     '%0A'
   13    21        UNSET_CV                                                 !1
   14    22        ECHO                                                     '-+DONE.'
         23        ECHO                                                     '%0A'
   15    24      > 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/ve3BL
function name:  {closure}
number of ops:  13
compiled vars:  !0 = $a, !1 = $b, !2 = $x, !3 = $y
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        BIND_STATIC                                              !2
          3        BIND_STATIC                                              !3
          4        POW                                              ~4      !0, 2
          5        ASSIGN                                           ~5      !2, ~4
          6        POW                                              ~6      !1, 2
          7        ASSIGN                                           ~7      !3, ~6
          8        ADD                                              ~8      ~5, ~7
          9        SUB                                              ~9      !2, !3
         10        MUL                                              ~10     ~8, ~9
         11      > RETURN                                                   ~10
         12*     > RETURN                                                   null

End of Dynamic Function 0

Class C:
Function __destruct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ve3BL
function name:  __destruct
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ECHO                                                     'destructed'
          1        ECHO                                                     '%0A'
          2      > RETURN                                                   null

End of function __destruct

End of class C.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.92 ms | 971 KiB | 14 Q