3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(isset($_POST)){ $a=$_POST['a']; echo $a; } echo '<form method="post" action=""><input type="text name="a"/><input type="submit" name="ok"/></form>';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 2, Position 2 = 6
Branch analysis from position: 2
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/voeoS
function name:  (null)
number of ops:  8
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ISSET_ISEMPTY_VAR                             2          '_POST'
          1      > JMPZ                                                     ~1, ->6
    3     2    >   FETCH_R                      global              ~2      '_POST'
          3        FETCH_DIM_R                                      ~3      ~2, 'a'
          4        ASSIGN                                                   !0, ~3
    4     5        ECHO                                                     !0
    6     6    >   ECHO                                                     '%3Cform+method%3D%22post%22+action%3D%22%22%3E%3Cinput+type%3D%22text+name%3D%22a%22%2F%3E%3Cinput+type%3D%22submit%22+name%3D%22ok%22%2F%3E%3C%2Fform%3E'
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.96 ms | 1393 KiB | 13 Q