diff options
Diffstat (limited to 'ext/imap/tests/imap_binary_basic.phpt')
| -rw-r--r-- | ext/imap/tests/imap_binary_basic.phpt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/imap/tests/imap_binary_basic.phpt b/ext/imap/tests/imap_binary_basic.phpt index bd4eabba51..3deb51a6a6 100644 --- a/ext/imap/tests/imap_binary_basic.phpt +++ b/ext/imap/tests/imap_binary_basic.phpt @@ -14,22 +14,22 @@ extension_loaded('imap') or die('skip imap extension not available in this build echo "*** Testing imap_binary() : basic functionality ***\n"; echo "Encode as short string\n"; -$str = b'This is an example string to be base 64 encoded'; +$str = 'This is an example string to be base 64 encoded'; $base64 = imap_binary($str); var_dump(bin2hex($base64)); echo "Encode a string which results in more than 60 charters of output\n"; -$str = b'This is a long string with results in more than 60 characters of output'; +$str = 'This is a long string with results in more than 60 characters of output'; $base64 = imap_binary($str); var_dump(bin2hex($base64)); echo "Encode a string with special characters\n"; -$str = b'_+-={][];;@~#?/>.<,'; +$str = '_+-={][];;@~#?/>.<,'; $base64 = imap_binary($str); var_dump(bin2hex($base64)); echo "Encode some hexadecimal data\n"; -$hex = b'x00\x01\x02\x03\x04\x05\x06\xFA\xFB\xFC\xFD\xFE\xFF'; +$hex = 'x00\x01\x02\x03\x04\x05\x06\xFA\xFB\xFC\xFD\xFE\xFF'; $base64 = imap_binary($hex); var_dump(bin2hex($base64)); |
