3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(); $a['lol'] = 'fuu' or die; print($a); $a = array('lol' => 'fuu' or '0'); print($a);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LZfFS
function name:  (null)
number of ops:  10
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN_DIM                                       ~2      !0, 'lol'
          2        OP_DATA                                                  'fuu'
          3      > JMPNZ_EX                                         ~2      ~2, ->6
          4    > > EXIT                                                     
          5*       BOOL                                             ~2      <true>
    5     6    >   ECHO                                                     !0
    7     7        ASSIGN                                                   !0, <array>
    8     8        ECHO                                                     !0
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.56 ms | 1392 KiB | 13 Q