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/rWFHv
function name:  (null)
number of ops:  60
compiled vars:  !0 = $alpha, !1 = $reflection, !2 = $method, !3 = $closure, !4 = $reflectionC
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   20     0  E >   NEW                                              $5      'Alpha'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $5
   22     3        ECHO                                                     'alpha.bravo%3A+++++++++++++++++++'
          4        INIT_METHOD_CALL                                         !0, 'bravo'
          5        DO_FCALL                                      0  $8      
          6        CONCAT                                           ~9      $8, '%0A'
          7        ECHO                                                     ~9
   24     8        NEW                                              $10     'ReflectionObject'
          9        SEND_VAR_EX                                              !0
         10        DO_FCALL                                      0          
         11        ASSIGN                                                   !1, $10
   26    12        INIT_METHOD_CALL                                         !1, 'getMethod'
         13        SEND_VAL_EX                                              'bravo'
         14        DO_FCALL                                      0  $13     
         15        ASSIGN                                                   !2, $13
   27    16        INIT_METHOD_CALL                                         !2, 'getClosure'
         17        SEND_VAR_EX                                              !0
         18        DO_FCALL                                      0  $15     
         19        ASSIGN                                                   !3, $15
   29    20        NEW                                              $17     'ReflectionFunction'
         21        SEND_VAR_EX                                              !3
         22        DO_FCALL                                      0          
         23        ASSIGN                                                   !4, $17
   31    24        ECHO                                                     'reflection+of+alpha.bravo%3A+++++'
         25        INIT_METHOD_CALL                                         !2, 'invoke'
         26        SEND_VAR_EX                                              !0
         27        DO_FCALL                                      0  $20     
         28        CONCAT                                           ~21     $20, '%0A'
         29        ECHO                                                     ~21
   32    30        ECHO                                                     'closure+of+alpha.bravo%3A++++++++'
         31        INIT_DYNAMIC_CALL                                        !3
         32        DO_FCALL                                      0  $22     
         33        CONCAT                                           ~23     $22, '%0A'
         34        ECHO                                                     ~23
   33    35        ECHO                                                     'call_user_func+of+closure%3A+++++'
         36        INIT_USER_CALL                                0          'call_user_func', !3
         37        DO_FCALL                                      0  $24     
         38        CONCAT                                           ~25     $24, '%0A'
         39        ECHO                                                     ~25
   34    40        ECHO                                                     '%0A'
   35    41        ECHO                                                     'closure+cl+of+c%28alpha.bravo%29%3A++'
         42        INIT_METHOD_CALL                                         !4, 'getClosureThis'
         43        DO_FCALL                                      0  $26     
         44        GET_CLASS                                        ~27     $26
         45        CONCAT                                           ~28     ~27, '%0A'
         46        ECHO                                                     ~28
   36    47        ECHO                                                     'scope+cl+of+c%28alpha.bravo%29%3A++++'
         48        INIT_METHOD_CALL                                         !4, 'getClosureScopeClass'
         49        DO_FCALL                                      0  $29     
         50        INIT_METHOD_CALL                                         $29, 'getName'
         51        DO_FCALL                                      0  $30     
         52        CONCAT                                           ~31     $30, '%0A'
         53        ECHO                                                     ~31
   37    54        ECHO                                                     'reflection+of+c%28alpha.bravo%29%3A++'
         55        INIT_METHOD_CALL                                         !4, 'invoke'
         56        DO_FCALL                                      0  $32     
         57        CONCAT                                           ~33     $32, '%0A'
         58        ECHO                                                     ~33
   38    59      > RETURN                                                   1

Class Alpha:
Function bravo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rWFHv
function name:  bravo
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   FETCH_OBJ_R                                      ~0      'message'
          1      > RETURN                                                   ~0
   16     2*     > RETURN                                                   null

End of function bravo

End of class Alpha.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
278.85 ms | 969 KiB | 13 Q