3v4l.org

run code in 300+ PHP versions simultaneously
<?php if ($userinfo['Username'] == "none") { ECHO " <img src='/pics/usericon.png' alt='Avatar' width='100' height='100' style='vertical-align:middle;'>"; } else { ECHO " <img src='/avatars/" . $profuser . ".png' alt='Avatar' width='100' height='100' style='vertical-align:middle;'>"; }
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 = 42) Position 1 = 8
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vKNtM
function name:  (null)
number of ops:  9
compiled vars:  !0 = $userinfo, !1 = $profuser
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_DIM_R                                      ~2      !0, 'Username'
          1        IS_EQUAL                                                 ~2, 'none'
          2      > JMPZ                                                     ~3, ->5
    3     3    >   ECHO                                                     '+%3Cimg+src%3D%27%2Fpics%2Fusericon.png%27+alt%3D%27Avatar%27+width%3D%27100%27+height%3D%27100%27+style%3D%27vertical-align%3Amiddle%3B%27%3E'
          4      > JMP                                                      ->8
    7     5    >   CONCAT                                           ~4      '+%3Cimg+src%3D%27%2Favatars%2F', !1
          6        CONCAT                                           ~5      ~4, '.png%27+alt%3D%27Avatar%27+width%3D%27100%27+height%3D%27100%27+style%3D%27vertical-align%3Amiddle%3B%27%3E'
          7        ECHO                                                     ~5
    8     8    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.16 ms | 1393 KiB | 13 Q