3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = base64_decode('AQAB'); $b = mb_convert_encoding( 'AQAB', "UTF-8", "BASE64" ); var_dump(bin2hex($a)); var_dump(bin2hex($b));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bibam
function name:  (null)
number of ops:  23
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'base64_decode'
          1        SEND_VAL                                                 'AQAB'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    3     4        INIT_FCALL                                               'mb_convert_encoding'
          5        SEND_VAL                                                 'AQAB'
          6        SEND_VAL                                                 'UTF-8'
          7        SEND_VAL                                                 'BASE64'
          8        DO_ICALL                                         $4      
          9        ASSIGN                                                   !1, $4
    5    10        INIT_FCALL                                               'var_dump'
         11        INIT_FCALL                                               'bin2hex'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                         $6      
         14        SEND_VAR                                                 $6
         15        DO_ICALL                                                 
    6    16        INIT_FCALL                                               'var_dump'
         17        INIT_FCALL                                               'bin2hex'
         18        SEND_VAR                                                 !1
         19        DO_ICALL                                         $8      
         20        SEND_VAR                                                 $8
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.08 ms | 1395 KiB | 21 Q