Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

convert_uuencode() Works On Empty Strings

convert_uuencode() returned false, aka error, when provided with an empty string.

Since PHP 8.0, it returns a valid encoded string, which may be decoded later.

PHP code

<?php

var_dump( convert_uuencode(''));

?>

Before

bool(false)

After

string(2) "\`
" 

PHP version change

This behavior changed in 8.0.

Extension

© 2023-2026, Damien Seguy - Exakat