3v4l.org

run code in 300+ PHP versions simultaneously
<?php $b['test'] = 'yes'; $test = isset($b['test']) ?: ''; var_dump($test);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/V1mqU
function name:  (null)
number of ops:  10
compiled vars:  !0 = $b, !1 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0, 'test'
          1        OP_DATA                                                  'yes'
    4     2        ISSET_ISEMPTY_DIM_OBJ                         0  ~3      !0, 'test'
          3        JMP_SET                                          ~4      ~3, ->5
          4        QM_ASSIGN                                        ~4      ''
          5        ASSIGN                                                   !1, ~4
    6     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.18 ms | 1008 KiB | 14 Q