3v4l.org

run code in 300+ PHP versions simultaneously
<?php new X; class X implements OutputCollection { public function add($e) {} public function addAll($iterable) {} }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZvUjC
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $0      'X'
          1        DO_FCALL                                      0          
          2        FREE                                                     $0
    5     3        DECLARE_CLASS                                            'x'
    7     4      > RETURN                                                   1

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

End of function add

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

End of function addall

End of class X.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.8 ms | 1393 KiB | 13 Q