3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.18 ms | 1392 KiB | 13 Q