Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Encodes data with MIME base64
base64_encode(string $string): string
        $pin openssl_pkey_get_details($pin)['key'];

        
$pin \array_slice(explode("\n"$pin), 1, -2);

        
$pin base64_decode(implode(''$pin));

        
$pin base64_encode(hash('sha256'$pintrue));



        
$a += [

            
'subject' => new EnumStub(array_intersect_key($info['subject'], ['organizationName' => true'commonName' => true])),
            $this->line .= $cursor->depth >= $this->displayOptions['maxDepth'] ? ' <samp class=sf-dump-compact>' ' <samp class=sf-dump-expanded>';

            
$this->endValue($cursor);

            
$this->line .= $this->indentPad;

            
$this->line .= sprintf('<img src="data:%s;base64,%s" /></samp>'$cursor->attr['content-type'], base64_encode($cursor->attr['img-data']));

            
$this->endValue($cursor);

        } else {

            
parent::dumpString($cursor$str$bin$cut);
            $context[$name] = $provider->getContext();

        }

        
$context array_filter($context);

        
$encodedPayload base64_encode(serialize([$data$context]))."\n";



        
set_error_handler([self::class, 'nullErrorHandler']);

        try {