3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(isset($_SERVER["HTTP_USER_AGENT"])) echo $_SERVER["HTTP_USER_AGENT"];
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 6
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/KNlSi
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   FETCH_IS                                         ~0      '_SERVER'
          1        ISSET_ISEMPTY_DIM_OBJ                         0          ~0, 'HTTP_USER_AGENT'
          2      > JMPZ                                                     ~1, ->6
    5     3    >   FETCH_R                      global              ~2      '_SERVER'
          4        FETCH_DIM_R                                      ~3      ~2, 'HTTP_USER_AGENT'
          5        ECHO                                                     ~3
          6    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.06 ms | 1392 KiB | 13 Q