3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface StatementInterface { public function setFetchMode(FetchAs $mode, string|int|null $a1 = NULL, array $a2 = []); public function execute(?array $args = [], array $options = []); } class StatementBase implements StatementInterface { public function setFetchMode($mode, $a1 = NULL, $a2 = []) {} public function execute($args = [], $options = []) {} }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Whe7r
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   DECLARE_CLASS                                            'statementbase'
   14     1      > RETURN                                                   1

Class StatementInterface:
Function setfetchmode:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Whe7r
function name:  setFetchMode
number of ops:  4
compiled vars:  !0 = $mode, !1 = $a1, !2 = $a2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
          1        RECV_INIT                                        !1      null
          2        RECV_INIT                                        !2      <array>
          3      > RETURN                                                   null

End of function setfetchmode

Function execute:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Whe7r
function name:  execute
number of ops:  3
compiled vars:  !0 = $args, !1 = $options
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV_INIT                                        !0      <array>
          1        RECV_INIT                                        !1      <array>
          2      > RETURN                                                   null

End of function execute

End of class StatementInterface.

Class StatementBase:
Function setfetchmode:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Whe7r
function name:  setFetchMode
number of ops:  4
compiled vars:  !0 = $mode, !1 = $a1, !2 = $a2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   RECV                                             !0      
          1        RECV_INIT                                        !1      null
          2        RECV_INIT                                        !2      <array>
          3      > RETURN                                                   null

End of function setfetchmode

Function execute:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Whe7r
function name:  execute
number of ops:  3
compiled vars:  !0 = $args, !1 = $options
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   RECV_INIT                                        !0      <array>
          1        RECV_INIT                                        !1      <array>
          2      > RETURN                                                   null

End of function execute

End of class StatementBase.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.69 ms | 1014 KiB | 13 Q