3v4l.org

run code in 300+ PHP versions simultaneously
<?php class X { function __invoke() { var_dump($this); } } (new X)();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7PZip
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   NEW                                              $0      'X'
          1        DO_FCALL                                      0          
          2        INIT_DYNAMIC_CALL                                        $0
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

Class X:
Function __invoke:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7PZip
function name:  __invoke
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'var_dump'
          1        FETCH_THIS                                       ~0      
          2        SEND_VAL                                                 ~0
          3        DO_ICALL                                                 
    6     4      > RETURN                                                   null

End of function __invoke

End of class X.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
126.28 ms | 1398 KiB | 15 Q