diff --git a/ext/standard/tests/strings/bug37244.phpt b/ext/standard/tests/strings/bug37244.phpt new file mode 100644 index 00000000000..0718c8a4d3e --- /dev/null +++ b/ext/standard/tests/strings/bug37244.phpt @@ -0,0 +1,18 @@ +--TEST-- +Bug #37244 (base64_decode violates RFC 3548) +--FILE-- + +--EXPECT-- +string(93) "Implementations MUST reject the encoding if it contains characters outside the base alphabet." +bool(false) +string(92) "Implemem][ۜUTZXH[[Y]۝Z[\X\]YHH\H[X] " +