3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { throw new ErrorException("What's this look like?", 0, E_USER_NOTICE, __FILE__, __LINE__); } catch (ErrorException $e) { echo "$e\n"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
Found catch point at position: 9
Branch analysis from position: 9
2 jumps found. (Code = 107) Position 1 = 10, Position 2 = -2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/67sqn
function name:  (null)
number of ops:  14
compiled vars:  !0 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'ErrorException'
          1        SEND_VAL_EX                                              'What%27s+this+look+like%3F'
          2        SEND_VAL_EX                                              0
          3        SEND_VAL_EX                                              1024
          4        SEND_VAL_EX                                              '%2Fin%2F67sqn'
          5        SEND_VAL_EX                                              3
          6        DO_FCALL                                      0          
          7      > THROW                                         0          $1
          8*       JMP                                                      ->13
    5     9  E > > CATCH                                       last         'ErrorException'
    6    10    >   NOP                                                      
         11        FAST_CONCAT                                      ~3      !0, '%0A'
         12        ECHO                                                     ~3
    7    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.26 ms | 1393 KiB | 13 Q