From 27cc2b8826fcfc58712802230459019486e95a93 Mon Sep 17 00:00:00 2001 From: Ben Isaacs Date: Sun, 28 Feb 2021 14:36:48 +0000 Subject: [PATCH] Add test for magic_stripslashes(). Make sure it doesn't fail in PHP8. --- test/MagicStripslashesTest.php | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/MagicStripslashesTest.php diff --git a/test/MagicStripslashesTest.php b/test/MagicStripslashesTest.php new file mode 100644 index 0000000..cf3e4d7 --- /dev/null +++ b/test/MagicStripslashesTest.php @@ -0,0 +1,11 @@ +assertEquals('""\'\'', magic_stripslashes('""\'\'')); + } +}