3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { $code = "1+1+++"; $res = eval("return ($code);"); } catch (ParseError $e) { throw $e; } echo $res;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 7
Branch analysis from position: 7
2 jumps found. (Code = 107) Position 1 = 8, Position 2 = -2
Branch analysis from position: 8
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/D7Mor
function name:  (null)
number of ops:  11
compiled vars:  !0 = $code, !1 = $res, !2 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, '1%2B1%2B%2B%2B'
    5     1        ROPE_INIT                                     3  ~5      'return+%28'
          2        ROPE_ADD                                      1  ~5      ~5, !0
          3        ROPE_END                                      2  ~4      ~5, '%29%3B'
          4        INCLUDE_OR_EVAL                                  $7      ~4, EVAL
          5        ASSIGN                                                   !1, $7
          6      > JMP                                                      ->9
    7     7  E > > CATCH                                       last         'ParseError'
    8     8    > > THROW                                         0          !2
   10     9    >   ECHO                                                     !1
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.79 ms | 1384 KiB | 13 Q