3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Goofy { public function hello() { echo 'Hello World!', PHP_EOL; } } (new Goofy(pippo))->hello();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nddbr
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   NEW                                              $0      'Goofy'
          1        FETCH_CONSTANT                                   ~1      'pippo'
          2        SEND_VAL_EX                                              ~1
          3        DO_FCALL                                      0          
          4        INIT_METHOD_CALL                                         $0, 'hello'
          5        DO_FCALL                                      0          
          6      > RETURN                                                   1

Class Goofy:
Function hello:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nddbr
function name:  hello
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ECHO                                                     'Hello+World%21'
          1        ECHO                                                     '%0A'
    8     2      > RETURN                                                   null

End of function hello

End of class Goofy.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.86 ms | 1397 KiB | 13 Q