3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array("a","b","c"); echo "this is " . $array[3] . "\n"; echo empty($array[3]). "\n"; echo empty($array[2]). "\n"; $url = $_SERVER['REQUEST_URI']; echo $url;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dsHZo
function name:  (null)
number of ops:  16
compiled vars:  !0 = $array, !1 = $url
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        FETCH_DIM_R                                      ~3      !0, 3
          2        CONCAT                                           ~4      'this+is+', ~3
          3        CONCAT                                           ~5      ~4, '%0A'
          4        ECHO                                                     ~5
    4     5        ISSET_ISEMPTY_DIM_OBJ                         1  ~6      !0, 3
          6        CONCAT                                           ~7      ~6, '%0A'
          7        ECHO                                                     ~7
    5     8        ISSET_ISEMPTY_DIM_OBJ                         1  ~8      !0, 2
          9        CONCAT                                           ~9      ~8, '%0A'
         10        ECHO                                                     ~9
    6    11        FETCH_R                      global              ~10     '_SERVER'
         12        FETCH_DIM_R                                      ~11     ~10, 'REQUEST_URI'
         13        ASSIGN                                                   !1, ~11
    7    14        ECHO                                                     !1
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.15 ms | 1393 KiB | 13 Q