3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.27 ms | 1394 KiB | 15 Q