3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $output=''; $section0=''; $temp = '$output=""; $section0 = "<!-- TODO put into input pattern=\d+(,\d+)* -->"; return $section0; '; $output = eval($temp); echo $output; $output = eval($temp); echo $output;
based on rhDYR
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LJrNk
function name:  (null)
number of ops:  10
compiled vars:  !0 = $output, !1 = $section0, !2 = $temp
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   ASSIGN                                                   !0, ''
   3     1        ASSIGN                                                   !1, ''
   4     2        ASSIGN                                                   !2, '%24output%3D%22%22%3B%0A+++++++++%24section0+%3D+%22%3C%21--+TODO+put+into+input%0A%09%09%09%09pattern%3D%5Cd%2B%28%2C%5Cd%2B%29%2A%0A%09%09%09%09--%3E%22%3B%0A++++++++return+%24section0%3B%0A'
  10     3        INCLUDE_OR_EVAL                                  $6      !2, EVAL
         4        ASSIGN                                                   !0, $6
  11     5        ECHO                                                     !0
  13     6        INCLUDE_OR_EVAL                                  $8      !2, EVAL
         7        ASSIGN                                                   !0, $8
  14     8        ECHO                                                     !0
         9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0