3v4l.org

run code in 300+ PHP versions simultaneously
<?php $getopt = []; var_dump((int) $getopt['testdox-columns'] ?? null); $getoptFixed = []; var_dump((int) ($getoptFixed['testdox-columns'] ?? null));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ggUUG
function name:  (null)
number of ops:  17
compiled vars:  !0 = $getopt, !1 = $getoptFixed
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        INIT_FCALL                                               'var_dump'
          2        FETCH_DIM_R                                      ~3      !0, 'testdox-columns'
          3        CAST                                          4  ~4      ~3
          4        COALESCE                                         ~5      ~4
          5        QM_ASSIGN                                        ~5      null
          6        SEND_VAL                                                 ~5
          7        DO_ICALL                                                 
    7     8        ASSIGN                                                   !1, <array>
    8     9        INIT_FCALL                                               'var_dump'
         10        FETCH_DIM_IS                                     ~8      !1, 'testdox-columns'
         11        COALESCE                                         ~9      ~8
         12        QM_ASSIGN                                        ~9      null
         13        CAST                                          4  ~10     ~9
         14        SEND_VAL                                                 ~10
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147 ms | 1015 KiB | 14 Q