3v4l.org

run code in 500+ PHP versions simultaneously
<?php $f = fn(): never => throw new Exception; $f();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MOKDU
function name:  (null)
number of ops:  5
compiled vars:  !0 = $f
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   DECLARE_LAMBDA_FUNCTION                              ~1      [0]
          1        ASSIGN                                                       !0, ~1
    4     2        INIT_DYNAMIC_CALL                                            !0
          3        DO_FCALL                                          0          
          4      > RETURN                                                       1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/MOKDU
function name:  {closure:/in/MOKDU:3}
number of ops:  4
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   NEW                                                  $0      'Exception'
          1        DO_FCALL                                          0          
          2      > THROW                                             0          $0
          3*     > VERIFY_NEVER_TYPE                                            

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
125.04 ms | 473 KiB | 7 Q