3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo $_SERVER['HTTP_USER_AGENT'] . "\n\n"; $browser_info = get_browser(null, true); //Store Browser info in an associative array $browser_name = $browser_info['browser']; //Extract Browser name from the associative array echo $browser_name; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RMbmF
function name:  (null)
number of ops:  13
compiled vars:  !0 = $browser_info, !1 = $browser_name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_R                      global              ~2      '_SERVER'
          1        FETCH_DIM_R                                      ~3      ~2, 'HTTP_USER_AGENT'
          2        CONCAT                                           ~4      ~3, '%0A%0A'
          3        ECHO                                                     ~4
    3     4        INIT_FCALL                                               'get_browser'
          5        SEND_VAL                                                 null
          6        SEND_VAL                                                 <true>
          7        DO_ICALL                                         $5      
          8        ASSIGN                                                   !0, $5
    4     9        FETCH_DIM_R                                      ~7      !0, 'browser'
         10        ASSIGN                                                   !1, ~7
    5    11        ECHO                                                     !1
    7    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.23 ms | 1394 KiB | 15 Q