3v4l.org

run code in 300+ PHP versions simultaneously
<?php class x { function y($y) { print Hello." ". $y; } } x::y('world');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IdE56
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   INIT_STATIC_METHOD_CALL                                  'x', 'y'
          1        SEND_VAL                                                 'world'
          2        DO_FCALL                                      0          
          3      > RETURN                                                   1

Class x:
Function y:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IdE56
function name:  y
number of ops:  6
compiled vars:  !0 = $y
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
    7     1        FETCH_CONSTANT                                   ~1      'Hello'
          2        CONCAT                                           ~2      ~1, '+'
          3        CONCAT                                           ~3      ~2, !0
          4        ECHO                                                     ~3
    8     5      > RETURN                                                   null

End of function y

End of class x.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.67 ms | 1393 KiB | 13 Q