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 === false;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 9
Branch analysis from position: 9
2 jumps found. (Code = 107) Position 1 = 10, Position 2 = -2
Branch analysis from position: 10
filename:       /in/7XldH
function name:  (null)
number of ops:  13
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        BEGIN_SILENCE                                    ~4      
          2        ROPE_INIT                                     3  ~6      'return+%28'
          3        ROPE_ADD                                      1  ~6      ~6, !0
          4        ROPE_END                                      2  ~5      ~6, '%29%3B'
          5        INCLUDE_OR_EVAL                                  $8      ~5, EVAL
          6        END_SILENCE                                              ~4
          7        ASSIGN                                                   !1, $8
          8      > JMP                                                      ->10
    7     9  E > > CATCH                                       last         'ParseError'
   10    10    >   TYPE_CHECK                                    4  ~10     !1
         11        ECHO                                                     ~10
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.61 ms | 1393 KiB | 13 Q