That would be ideal, but also a breaking change. The current behavior when decoding garbage is to return an empty string.
-
-
This Tweet is unavailable.
-
- 1 more reply
-
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
That makes little sense? Did you mean echo base64_decode(base64_encode(“PHP”)) -> “PHP”
-
No. “PHP” is not a valid BASE64 string, even without padding; there are leftover bits. But PHP doesn’t care.
- 2 more replies
New conversation -
-
-
This is wild: https://3v4l.org/OM5jE
-
How's this possible?
- 3 more replies
New conversation -
-
-
That's misleading and I wouldn't be surprised you'd get the same result doing the same operation in several languages....
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.