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 = 8
Branch analysis from position: 8
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
filename:       /in/hPZQr
function name:  (null)
number of ops:  10
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                                                      ->8
    7     7  E > > CATCH                                       last         'ParseError'
   10     8    >   ECHO                                                     !1
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.58 ms | 1392 KiB | 13 Q