3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! class MyClass { public function foo() { var_dump(__CLASS__,__METHOD__,__FUNCTION__); } } (new MyClass)->foo();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZqgQg
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   NEW                                              $0      'MyClass'
          1        DO_FCALL                                      0          
          2        INIT_METHOD_CALL                                         $0, 'foo'
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

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

End of function foo

End of class MyClass.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.07 ms | 1394 KiB | 15 Q