3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reportinf(0); class A { public function foo() { echo 123; exit(); } } A::foo();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/J0XFr
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'error_reportinf'
          1        SEND_VAL_EX                                              0
          2        DO_FCALL                                      0          
   10     3        INIT_STATIC_METHOD_CALL                                  'A', 'foo'
          4        DO_FCALL                                      0          
          5      > RETURN                                                   1

Class A:
Function foo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/J0XFr
function name:  foo
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ECHO                                                     123
          1      > EXIT                                                     
    8     2*     > RETURN                                                   null

End of function foo

End of class A.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.3 ms | 1393 KiB | 13 Q