3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 1; eval("$a = $a + 1"); print $a;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/f4or2
function name:  (null)
number of ops:  8
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1
    3     1        ROPE_INIT                                     4  ~3      !0
          2        ROPE_ADD                                      1  ~3      ~3, '+%3D+'
          3        ROPE_ADD                                      2  ~3      ~3, !0
          4        ROPE_END                                      3  ~2      ~3, '+%2B+1'
          5        INCLUDE_OR_EVAL                                          ~2, EVAL
    4     6        ECHO                                                     !0
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.82 ms | 1392 KiB | 13 Q