3v4l.org

run code in 300+ PHP versions simultaneously
<?php $access = 'publisher'; $id = 1234; if (!$access==='admin' || $id) { echo 'specific user, find user specific.'; } else { echo 'currently logged in admin: show all.'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 5, Position 2 = 6
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/Hb5ON
function name:  (null)
number of ops:  11
compiled vars:  !0 = $access, !1 = $id
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'publisher'
    3     1        ASSIGN                                                   !1, 1234
    5     2        BOOL_NOT                                         ~4      !0
          3        IS_IDENTICAL                                     ~5      ~4, 'admin'
          4      > JMPNZ_EX                                         ~5      ~5, ->6
          5    >   BOOL                                             ~5      !1
          6    > > JMPZ                                                     ~5, ->9
    6     7    >   ECHO                                                     'specific+user%2C+find+user+specific.'
          8      > JMP                                                      ->10
    8     9    >   ECHO                                                     'currently+logged+in+admin%3A+show+all.'
    9    10    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.48 ms | 1393 KiB | 13 Q