3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( base64_decode(base64_encode("Foo bar")) ,base64_decode(base64_encode("Foo bar")."#$%^&*") ,base64_decode("#$%^&*".base64_encode("Foo bar")) ,base64_decode("#$%^&*") );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dpKDf
function name:  (null)
number of ops:  30
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
    3     1        INIT_FCALL                                               'base64_decode'
          2        INIT_FCALL                                               'base64_encode'
          3        SEND_VAL                                                 'Foo+bar'
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                         $1      
          7        SEND_VAR                                                 $1
    4     8        INIT_FCALL                                               'base64_decode'
          9        INIT_FCALL                                               'base64_encode'
         10        SEND_VAL                                                 'Foo+bar'
         11        DO_ICALL                                         $2      
         12        CONCAT                                           ~3      $2, '%23%24%25%5E%26%2A'
         13        SEND_VAL                                                 ~3
         14        DO_ICALL                                         $4      
         15        SEND_VAR                                                 $4
    5    16        INIT_FCALL                                               'base64_decode'
         17        INIT_FCALL                                               'base64_encode'
         18        SEND_VAL                                                 'Foo+bar'
         19        DO_ICALL                                         $5      
         20        CONCAT                                           ~6      '%23%24%25%5E%26%2A', $5
         21        SEND_VAL                                                 ~6
         22        DO_ICALL                                         $7      
         23        SEND_VAR                                                 $7
    6    24        INIT_FCALL                                               'base64_decode'
         25        SEND_VAL                                                 '%23%24%25%5E%26%2A'
         26        DO_ICALL                                         $8      
         27        SEND_VAR                                                 $8
         28        DO_ICALL                                                 
    7    29      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.34 ms | 1395 KiB | 19 Q