3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Test script, include all of the things! $bol_use_live = isset($_SERVER['argv'][1]) && ($_SERVER['argv'][1]==='-live'); $arr_arr = ['apple', 'orange']; print_r($arr_arr, true);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 4, Position 2 = 9
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
filename:       /in/VI95S
function name:  (null)
number of ops:  16
compiled vars:  !0 = $bol_use_live, !1 = $arr_arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   FETCH_IS                                         ~2      '_SERVER'
          1        FETCH_DIM_IS                                     ~3      ~2, 'argv'
          2        ISSET_ISEMPTY_DIM_OBJ                         0  ~4      ~3, 1
          3      > JMPZ_EX                                          ~4      ~4, ->9
          4    >   FETCH_R                      global              ~5      '_SERVER'
          5        FETCH_DIM_R                                      ~6      ~5, 'argv'
          6        FETCH_DIM_R                                      ~7      ~6, 1
          7        IS_IDENTICAL                                     ~8      ~7, '-live'
          8        BOOL                                             ~4      ~8
          9    >   ASSIGN                                                   !0, ~4
    7    10        ASSIGN                                                   !1, <array>
    9    11        INIT_FCALL                                               'print_r'
         12        SEND_VAR                                                 !1
         13        SEND_VAL                                                 <true>
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.4 ms | 1394 KiB | 15 Q