3v4l.org

run code in 300+ PHP versions simultaneously
<?php $token = "abcdefABCDEF1234567890"; var_dump(base64_encode($token)); var_dump(base64_encode(strtolower($token))); var_dump(base64_encode(strtoupper($token))); var_dump(base64_encode(hex2bin($token))); var_dump(base64_encode(hex2bin(strtolower($token)))); var_dump(base64_encode(hex2bin(strtoupper($token))));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LCPTt
function name:  (null)
number of ops:  59
compiled vars:  !0 = $token
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'abcdefABCDEF1234567890'
    5     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'base64_encode'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        SEND_VAR                                                 $2
          6        DO_ICALL                                                 
    6     7        INIT_FCALL                                               'var_dump'
          8        INIT_FCALL                                               'base64_encode'
          9        INIT_FCALL                                               'strtolower'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $4      
         12        SEND_VAR                                                 $4
         13        DO_ICALL                                         $5      
         14        SEND_VAR                                                 $5
         15        DO_ICALL                                                 
    7    16        INIT_FCALL                                               'var_dump'
         17        INIT_FCALL                                               'base64_encode'
         18        INIT_FCALL                                               'strtoupper'
         19        SEND_VAR                                                 !0
         20        DO_ICALL                                         $7      
         21        SEND_VAR                                                 $7
         22        DO_ICALL                                         $8      
         23        SEND_VAR                                                 $8
         24        DO_ICALL                                                 
    9    25        INIT_FCALL                                               'var_dump'
         26        INIT_FCALL                                               'base64_encode'
         27        INIT_FCALL                                               'hex2bin'
         28        SEND_VAR                                                 !0
         29        DO_ICALL                                         $10     
         30        SEND_VAR                                                 $10
         31        DO_ICALL                                         $11     
         32        SEND_VAR                                                 $11
         33        DO_ICALL                                                 
   10    34        INIT_FCALL                                               'var_dump'
         35        INIT_FCALL                                               'base64_encode'
         36        INIT_FCALL                                               'hex2bin'
         37        INIT_FCALL                                               'strtolower'
         38        SEND_VAR                                                 !0
         39        DO_ICALL                                         $13     
         40        SEND_VAR                                                 $13
         41        DO_ICALL                                         $14     
         42        SEND_VAR                                                 $14
         43        DO_ICALL                                         $15     
         44        SEND_VAR                                                 $15
         45        DO_ICALL                                                 
   11    46        INIT_FCALL                                               'var_dump'
         47        INIT_FCALL                                               'base64_encode'
         48        INIT_FCALL                                               'hex2bin'
         49        INIT_FCALL                                               'strtoupper'
         50        SEND_VAR                                                 !0
         51        DO_ICALL                                         $17     
         52        SEND_VAR                                                 $17
         53        DO_ICALL                                         $18     
         54        SEND_VAR                                                 $18
         55        DO_ICALL                                         $19     
         56        SEND_VAR                                                 $19
         57        DO_ICALL                                                 
         58      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
185.47 ms | 1400 KiB | 23 Q