3v4l.org

run code in 300+ PHP versions simultaneously
<?php $bestelId = null; $attr = array(); if($bestelId != null){ $attr['bestel_id'] = $bestelId; } $attr['track_trace'] = '2'; $attr['supplier'] = '3'; $attr['visual_status'] = '4'; print_r($attr);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/MoHm2
function name:  (null)
number of ops:  16
compiled vars:  !0 = $bestelId, !1 = $attr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, null
    4     1        ASSIGN                                                   !1, <array>
    5     2        IS_NOT_EQUAL                                             !0, null
          3      > JMPZ                                                     ~4, ->6
    6     4    >   ASSIGN_DIM                                               !1, 'bestel_id'
          5        OP_DATA                                                  !0
    9     6    >   ASSIGN_DIM                                               !1, 'track_trace'
          7        OP_DATA                                                  '2'
   10     8        ASSIGN_DIM                                               !1, 'supplier'
          9        OP_DATA                                                  '3'
   11    10        ASSIGN_DIM                                               !1, 'visual_status'
         11        OP_DATA                                                  '4'
   13    12        INIT_FCALL                                               'print_r'
         13        SEND_VAR                                                 !1
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.59 ms | 1394 KiB | 15 Q