3v4l.org

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

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

End of function foo

Function __getx:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/i9kcu
function name:  __getx
number of ops:  2
compiled vars:  !0 = $n
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
          1      > RETURN                                                   null

End of function __getx

End of class X.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.64 ms | 1384 KiB | 13 Q