3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.38 ms | 1395 KiB | 15 Q