3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface RouteCollectionInterface { public function add(string $from, $to, ?array $options = null): self; } class RouteCollection implements RouteCollectionInterface { public function add(string $from, $to, ?array $options = null) { } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/n9AYI
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   DECLARE_CLASS                                            'routecollection'
   11     1      > RETURN                                                   1

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

End of function add

End of class RouteCollectionInterface.

Class RouteCollection:
Function add:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/n9AYI
function name:  add
number of ops:  4
compiled vars:  !0 = $from, !1 = $to, !2 = $options
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV_INIT                                        !2      null
   10     3      > RETURN                                                   null

End of function add

End of class RouteCollection.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.1 ms | 998 KiB | 13 Q