3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Asd { public function qwerty(int $q): array; } class Qwertyasd implements Asd { public function qwerty(int $q): array { return 123; } } (new Qwertyasd)->qwerty(25);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QGGt4
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   DECLARE_CLASS                                            'qwertyasd'
   16     1        NEW                                              $0      'Qwertyasd'
          2        DO_FCALL                                      0          
          3        INIT_METHOD_CALL                                         $0, 'qwerty'
          4        SEND_VAL_EX                                              25
          5        DO_FCALL                                      0          
          6      > RETURN                                                   1

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

End of function qwerty

End of class Asd.

Class Qwertyasd:
Function qwerty:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QGGt4
function name:  qwerty
number of ops:  5
compiled vars:  !0 = $q
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   RECV                                             !0      
   12     1        VERIFY_RETURN_TYPE                               ~1      123
          2      > RETURN                                                   ~1
   13     3*       VERIFY_RETURN_TYPE                                       
          4*     > RETURN                                                   null

End of function qwerty

End of class Qwertyasd.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.76 ms | 1394 KiB | 13 Q