Bug #66308 [Opn->Nab]: echo error

From: Date: Tue, 17 Dec 2013 16:45:24 +0000
Subject: Bug #66308 [Opn->Nab]: echo error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-183370@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66308&edit=1 ID: 66308 Updated by: rasmus@php.net Reported by: cbsgroup at yandex dot ru Summary: echo error -Status: Open +Status: Not a bug Type: Bug Package: hash related Operating System: Windows 7 PHP Version: 5.5.7 Block user comment: N Private report: N New Comment: That's not a PHP issue. That's because you are not looking at the raw output. If you are using a web browser, do a "view source" to see it. If you are using the command line, try sending the output to something like od -c or redirect it to a file. eg. % php -r "echo base64_decode('dC42SWp9VHADdH1CBRgEaAwwjQndNbGAScAN0fUVUdUNgYkFzJSt8Bh8XZBUDBR0FZAoHc01teW5ZRnB6FGlcBmRlQnxYfA==');" | od -c 0000000 t . 6 I j } T p 003 t } B 005 u C ` 0000020 b A { % + | 006 037 D 030 < F 001 032 003 \f 0000040 # B w M l 022 p 003 t } E T u C 0000060 b A s % + | 006 037 027 d 025 003 005 035 005 d 0000100 \n \a s M m y n Y F p z 024 i \ 006 d 0000120 e B | X | Previous Comments: ------------------------------------------------------------------------ [2013-12-17 16:21:15] cbsgroup at yandex dot ru Description: ------------ echo does not show all the decrypted data Test script: --------------- echo base64_decode('dC42SWp9VHADdH1CBXVDYGJBeyUrfAYfRBg8RgEaAwwjQndNbGAScAN0fUVUdUNgYkFzJSt8Bh8XZBUDBR0FZAoHc01teW5ZRnB6FGlcBmRlQnxYfA=='); Expected result: ---------------- t.6Ij}Tpt}BuCbA{%+|D<F #BwMlpt}ETuC`bAs%+|dd sMmynYFpzi\deB|X| Actual result: -------------- t.6Ij}Tpt}BuC`bA{%+|D ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=66308&edit=1

« previous php.bugs (#183370) next »