3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Stmt1 extends \PDOStatement { public function execute($input_parameters = []) : self { return parent::execute($input_parameters); } } class Stmt2 extends \PDOStatement { public function execute($input_parameters = null) : self { return parent::execute($input_parameters); } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ILngK
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E > > RETURN                                                   1

Class Stmt1:
Function execute:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ILngK
function name:  execute
number of ops:  8
compiled vars:  !0 = $input_parameters
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV_INIT                                        !0      <array>
    5     1        INIT_STATIC_METHOD_CALL                                  'execute'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0  $1      
          4        VERIFY_RETURN_TYPE                                       $1
          5      > RETURN                                                   $1
    6     6*       VERIFY_RETURN_TYPE                                       
          7*     > RETURN                                                   null

End of function execute

End of class Stmt1.

Class Stmt2:
Function execute:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ILngK
function name:  execute
number of ops:  8
compiled vars:  !0 = $input_parameters
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   RECV_INIT                                        !0      null
   11     1        INIT_STATIC_METHOD_CALL                                  'execute'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0  $1      
          4        VERIFY_RETURN_TYPE                                       $1
          5      > RETURN                                                   $1
   12     6*       VERIFY_RETURN_TYPE                                       
          7*     > RETURN                                                   null

End of function execute

End of class Stmt2.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.7 ms | 1394 KiB | 13 Q