3v4l.org

run code in 300+ PHP versions simultaneously
<?php try{ echo "asdasdjaslkd"; } catch (Exception $e) { $str = 'Caught exception: '. $e->getMessage(). "\n"; } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 2
Branch analysis from position: 2
2 jumps found. (Code = 107) Position 1 = 3, Position 2 = -2
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6KfNQ
function name:  (null)
number of ops:  9
compiled vars:  !0 = $e, !1 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ECHO                                                     'asdasdjaslkd'
          1      > JMP                                                      ->8
    5     2  E > > CATCH                                       last         'Exception'
    6     3    >   INIT_METHOD_CALL                                         !0, 'getMessage'
          4        DO_FCALL                                      0  $2      
          5        CONCAT                                           ~3      'Caught+exception%3A+', $2
          6        CONCAT                                           ~4      ~3, '%0A'
          7        ASSIGN                                                   !1, ~4
   12     8    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.2 ms | 1392 KiB | 13 Q