3v4l.org

run code in 300+ PHP versions simultaneously
<?php $uid = 'sjdkjasdkgj'; $tokenheader = 1 << 8; $tokenheader |= WAP_LOGIN_IDC_NO << 4; $tokenheader |= strlen($uid); var_dump($tokenheader,decbin($tokenheader));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mGEct
function name:  (null)
number of ops:  15
compiled vars:  !0 = $uid, !1 = $tokenheader
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'sjdkjasdkgj'
    3     1        ASSIGN                                                   !1, 256
    4     2        FETCH_CONSTANT                                   ~4      'WAP_LOGIN_IDC_NO'
          3        SL                                               ~5      ~4, 4
          4        ASSIGN_OP                                     9          !1, ~5
    5     5        STRLEN                                           ~7      !0
          6        ASSIGN_OP                                     9          !1, ~7
    6     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !1
          9        INIT_FCALL                                               'decbin'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $9      
         12        SEND_VAR                                                 $9
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.18 ms | 1394 KiB | 17 Q