3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Interfaze { public function hello($name); } class Clazz implements Interfaze { public function hello($name) { echo "Hello, $name!"; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/u8ErT
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   DECLARE_CLASS                                            'clazz'
   13     1      > RETURN                                                   1

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

End of function hello

End of class Interfaze.

Class Clazz:
Function hello:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/u8ErT
function name:  hello
number of ops:  6
compiled vars:  !0 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   RECV                                             !0      
   11     1        ROPE_INIT                                     3  ~2      'Hello%2C+'
          2        ROPE_ADD                                      1  ~2      ~2, !0
          3        ROPE_END                                      2  ~1      ~2, '%21'
          4        ECHO                                                     ~1
   12     5      > RETURN                                                   null

End of function hello

End of class Clazz.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.37 ms | 1393 KiB | 13 Q