3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ip=$_SERVER['REMOTE_ADDR']; $ua=$_SERVER['HTTP_USER_AGENT']; $ref=$_SERVER['HTTP_REFERER']; echo $ip; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0UaNa
function name:  (null)
number of ops:  11
compiled vars:  !0 = $ip, !1 = $ua, !2 = $ref
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_R                      global              ~3      '_SERVER'
          1        FETCH_DIM_R                                      ~4      ~3, 'REMOTE_ADDR'
          2        ASSIGN                                                   !0, ~4
    3     3        FETCH_R                      global              ~6      '_SERVER'
          4        FETCH_DIM_R                                      ~7      ~6, 'HTTP_USER_AGENT'
          5        ASSIGN                                                   !1, ~7
    4     6        FETCH_R                      global              ~9      '_SERVER'
          7        FETCH_DIM_R                                      ~10     ~9, 'HTTP_REFERER'
          8        ASSIGN                                                   !2, ~10
    5     9        ECHO                                                     !0
    7    10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.32 ms | 1384 KiB | 13 Q