3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface ValidationInterface { public function run(?array $data = null, ?string $group = null, ?string $dbGroup = null): bool; } class Validation implements ValidationInterface { public function run(?array $data = null, ?string $group = null, $dbGroup = null): bool { return true; } } class MyValidation extends Validation { public function run(?array $data = null, ?string $group = null, ?string $dbGroup = null): bool { return true; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VMDWp
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   DECLARE_CLASS                                            'validation'
   14     1        DECLARE_CLASS                                            'myvalidation', 'validation'
   19     2      > RETURN                                                   1

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

End of function run

End of class ValidationInterface.

Class Validation:
Function run:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VMDWp
function name:  run
number of ops:  6
compiled vars:  !0 = $data, !1 = $group, !2 = $dbGroup
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   RECV_INIT                                        !0      null
          1        RECV_INIT                                        !1      null
          2        RECV_INIT                                        !2      null
   10     3      > RETURN                                                   <true>
   11     4*       VERIFY_RETURN_TYPE                                       
          5*     > RETURN                                                   null

End of function run

End of class Validation.

Class MyValidation:
Function run:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VMDWp
function name:  run
number of ops:  6
compiled vars:  !0 = $data, !1 = $group, !2 = $dbGroup
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   RECV_INIT                                        !0      null
          1        RECV_INIT                                        !1      null
          2        RECV_INIT                                        !2      null
   17     3      > RETURN                                                   <true>
   18     4*       VERIFY_RETURN_TYPE                                       
          5*     > RETURN                                                   null

End of function run

End of class MyValidation.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.53 ms | 1003 KiB | 14 Q