3v4l.org

run code in 300+ PHP versions simultaneously
<?php $template = <<<'TPL' HELLO <?= $name ?> TPL; $name = 'WORLD'; eval('?>' . $template);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1hDoH
function name:  (null)
number of ops:  5
compiled vars:  !0 = $template, !1 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'HELLO+%3C%3F%3D+%24name+%3F%3E'
    7     1        ASSIGN                                                   !1, 'WORLD'
    9     2        CONCAT                                           ~4      '%3F%3E', !0
          3        INCLUDE_OR_EVAL                                          ~4, EVAL
          4      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.46 ms | 997 KiB | 13 Q