3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sys = 0; $admin = 1; $right = 0; $a = [1=> 'Admin']; var_export($right !== $sys && ($a[$admin] ?? null));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 7, Position 2 = 11
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/cBuAp
function name:  (null)
number of ops:  14
compiled vars:  !0 = $sys, !1 = $admin, !2 = $right, !3 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
    3     1        ASSIGN                                                   !1, 1
    4     2        ASSIGN                                                   !2, 0
    5     3        ASSIGN                                                   !3, <array>
    7     4        INIT_FCALL                                               'var_export'
          5        IS_NOT_IDENTICAL                                 ~8      !2, !0
          6      > JMPZ_EX                                          ~8      ~8, ->11
          7    >   FETCH_DIM_IS                                     ~9      !3, !1
          8        COALESCE                                         ~10     ~9
          9        QM_ASSIGN                                        ~10     null
         10        BOOL                                             ~8      ~10
         11    >   SEND_VAL                                                 ~8
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.52 ms | 1394 KiB | 15 Q