3v4l.org

run code in 500+ PHP versions simultaneously
<?php array_reduce(['a'], function () { throw new \Exception(); });
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sW6Mb
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'array_reduce'
          1        SEND_VAL                                                     <array>
          2        DECLARE_LAMBDA_FUNCTION                              ~0      [0]
          3        SEND_VAL                                                     ~0
          4        DO_ICALL                                                     
          5      > 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/sW6Mb
function name:  {closure:/in/sW6Mb:3}
number of ops:  4
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
          0  E >   NEW                                                  $0      'Exception'
          1        DO_FCALL                                          0          
          2      > THROW                                             0          $0
          3*     > RETURN                                                       null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
135.86 ms | 476 KiB | 8 Q