3v4l.org

run code in 300+ PHP versions simultaneously
<?php $go = "Hello"; $array = array ( $go || [], $go2 || [] ); var_dump($array);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 2, Position 2 = 3
Branch analysis from position: 2
2 jumps found. (Code = 47) Position 1 = 5, Position 2 = 6
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
Branch analysis from position: 3
filename:       /in/gsY34
function name:  (null)
number of ops:  12
compiled vars:  !0 = $go, !1 = $array, !2 = $go2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Hello'
    6     1      > JMPNZ_EX                                         ~4      !0, ->3
          2    >   BOOL                                             ~4      <array>
          3    >   INIT_ARRAY                                       ~5      ~4
    7     4      > JMPNZ_EX                                         ~6      !2, ->6
    6     5    >   BOOL                                             ~6      <array>
          6    >   ADD_ARRAY_ELEMENT                                ~5      ~6
    4     7        ASSIGN                                                   !1, ~5
   10     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150 ms | 1394 KiB | 15 Q