3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { eval('non;sen-se)('); } catch (\ParseError $e) { echo 'Caught: ', $e->getMessage(), "\n"; } echo 'ok';
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/gideq
function name:  (null)
number of ops:  10
compiled vars:  !0 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INCLUDE_OR_EVAL                                          'non%3Bsen-se%29%28', EVAL
          1      > JMP                                                      ->8
    5     2  E > > CATCH                                       last         'ParseError'
    6     3    >   ECHO                                                     'Caught%3A+'
          4        INIT_METHOD_CALL                                         !0, 'getMessage'
          5        DO_FCALL                                      0  $2      
          6        ECHO                                                     $2
          7        ECHO                                                     '%0A'
    9     8    >   ECHO                                                     'ok'
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.86 ms | 1384 KiB | 13 Q