Return to bug65483.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / streams |
v 5.4.20
--TEST-- Bug #65483: quoted-printable encode stream filter incorrectly encoding spaces --FILE-- <?php $data = 'a b=c d'; $fd = fopen('php://temp', 'w+'); fwrite($fd, $data); rewind($fd); $res = stream_filter_append($fd, 'convert.quoted-printable-encode', STREAM_FILTER_READ); var_dump(stream_get_contents($fd, -1, 0)); fclose($fd); ?> --EXPECT-- string(9) "a b=3Dc d"