3v4l.org

run code in 300+ PHP versions simultaneously
<?php $uid = 'sjdkjasdkgj'; $tokenheader = self::$version << 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/oTOGK
function name:  (null)
number of ops:  17
compiled vars:  !0 = $uid, !1 = $tokenheader
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'sjdkjasdkgj'
    3     1        FETCH_STATIC_PROP_R          unknown             ~3      'version'
          2        SL                                               ~4      ~3, 8
          3        ASSIGN                                                   !1, ~4
    4     4        FETCH_CONSTANT                                   ~6      'WAP_LOGIN_IDC_NO'
          5        SL                                               ~7      ~6, 4
          6        ASSIGN_OP                                     9          !1, ~7
    5     7        STRLEN                                           ~9      !0
          8        ASSIGN_OP                                     9          !1, ~9
    6     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !1
         11        INIT_FCALL                                               'decbin'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                         $11     
         14        SEND_VAR                                                 $11
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.82 ms | 1394 KiB | 17 Q