3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MyClass { public $string; public function echo_string($strng){ echo $string; } } echo_string("Hello");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9qEvF
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL_BY_NAME                                       'echo_string'
          1        SEND_VAL_EX                                              'Hello'
          2        DO_FCALL                                      0          
          3      > RETURN                                                   1

Class MyClass:
Function echo_string:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9qEvF
function name:  echo_string
number of ops:  3
compiled vars:  !0 = $strng, !1 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
    5     1        ECHO                                                     !1
    6     2      > RETURN                                                   null

End of function echo_string

End of class MyClass.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.17 ms | 1393 KiB | 13 Q