3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hundred = 100; try { eval('\$evilPlans = \"hide all the beer\";'); } catch (ParseError $e) { var_dump($e, 'asdasd');exit; echo $e->getMessage(); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 3
Branch analysis from position: 3
2 jumps found. (Code = 107) Position 1 = 4, Position 2 = -2
Branch analysis from position: 4
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/ePrMh
function name:  (null)
number of ops:  13
compiled vars:  !0 = $hundred, !1 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 100
    6     1        INCLUDE_OR_EVAL                                          '%5C%24evilPlans+%3D+%5C%22hide+all+the+beer%5C%22%3B', EVAL
          2      > JMP                                                      ->12
    7     3  E > > CATCH                                       last         'ParseError'
    8     4    >   INIT_FCALL                                               'var_dump'
          5        SEND_VAR                                                 !1
          6        SEND_VAL                                                 'asdasd'
          7        DO_ICALL                                                 
          8      > EXIT                                                     
    9     9*       INIT_METHOD_CALL                                         !1, 'getMessage'
         10*       DO_FCALL                                      0  $5      
         11*       ECHO                                                     $5
   10    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.96 ms | 1394 KiB | 15 Q