php-src/ext/standard/tests/strings/bug34214.phpt

11 lines
182 B
Plaintext
Raw Normal View History

2005-08-23 21:40:26 +00:00
--TEST--
Bug #34214 (base64_decode() does not properly ignore whitespace)
--FILE--
<?php
$txt = 'Zm9vYmFyIG
Zvb2Jhcg==';
echo base64_decode($txt), "\n";
?>
--EXPECT--
foobar foobar