3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user_info = get_userdata(get_current_user_id()); global $current_user; get_currentuserinfo(); echo get_avatar( $current_user->ID, 64 ); echo 'Welcome, ' . $user_info->user_login . '!' . "n";?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VYQOP
function name:  (null)
number of ops:  22
compiled vars:  !0 = $user_info, !1 = $current_user
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'get_userdata'
          1        INIT_FCALL_BY_NAME                                       'get_current_user_id'
          2        DO_FCALL                                      0  $2      
          3        SEND_VAR_NO_REF_EX                                       $2
          4        DO_FCALL                                      0  $3      
          5        ASSIGN                                                   !0, $3
    3     6        BIND_GLOBAL                                              !1, 'current_user'
    4     7        INIT_FCALL_BY_NAME                                       'get_currentuserinfo'
          8        DO_FCALL                                      0          
    5     9        INIT_FCALL_BY_NAME                                       'get_avatar'
         10        CHECK_FUNC_ARG                                           
         11        FETCH_OBJ_FUNC_ARG                               $6      !1, 'ID'
         12        SEND_FUNC_ARG                                            $6
         13        SEND_VAL_EX                                              64
         14        DO_FCALL                                      0  $7      
         15        ECHO                                                     $7
    6    16        FETCH_OBJ_R                                      ~8      !0, 'user_login'
         17        CONCAT                                           ~9      'Welcome%2C+', ~8
         18        CONCAT                                           ~10     ~9, '%21'
         19        CONCAT                                           ~11     ~10, 'n'
         20        ECHO                                                     ~11
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.23 ms | 1394 KiB | 13 Q