3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "2fe3269fa210706de21ff97cc964590ec5bddd6677885fc55cfa6bfd94924822"; echo base64_encode($str); echo "\n"; echo base64_encode('hoge');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YLGEa
function name:  (null)
number of ops:  11
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '2fe3269fa210706de21ff97cc964590ec5bddd6677885fc55cfa6bfd94924822'
    4     1        INIT_FCALL                                               'base64_encode'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4        ECHO                                                     $2
    5     5        ECHO                                                     '%0A'
    6     6        INIT_FCALL                                               'base64_encode'
          7        SEND_VAL                                                 'hoge'
          8        DO_ICALL                                         $3      
          9        ECHO                                                     $3
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
183.28 ms | 1394 KiB | 15 Q