3v4l.org

run code in 300+ PHP versions simultaneously
<?php $code = ' undefined_method(); '; try { $result = eval($code); } catch (\ParseException $e) { var_dump($e); }
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: 4
Branch analysis from position: 4
2 jumps found. (Code = 107) Position 1 = 5, Position 2 = -2
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SWlqk
function name:  (null)
number of ops:  9
compiled vars:  !0 = $code, !1 = $result, !2 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%0Aundefined_method%28%29%3B%0A'
    8     1        INCLUDE_OR_EVAL                                  $4      !0, EVAL
          2        ASSIGN                                                   !1, $4
          3      > JMP                                                      ->8
    9     4  E > > CATCH                                       last         'ParseException'
   10     5    >   INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !2
          7        DO_ICALL                                                 
   11     8    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.7 ms | 1398 KiB | 15 Q