3v4l.org

run code in 500+ PHP versions simultaneously
<?php function returns() { return "Hello"; return "World"; } echo returns();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/34RDY
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                                   'returns'
          1        DO_FCALL                                          0  $0      
          2        ECHO                                                         $0
          3      > RETURN                                                       1

Function returns:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/34RDY
function name:  returns
number of ops:  3
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    4     0  E > > RETURN                                                       'Hello'
    5     1*       RETURN                                                       'World'
    6     2*     > RETURN                                                       null

End of function returns

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
187.13 ms | 1619 KiB | 14 Q