From e5587ee4ccbba8f284981eb1b94a8fc0b2e60122 Mon Sep 17 00:00:00 2001 From: Scott MacVicar Date: Wed, 17 Dec 2008 14:46:47 +0000 Subject: [PATCH] MFH Test for bug #45791 --- ext/json/tests/bug45791.phpt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 ext/json/tests/bug45791.phpt diff --git a/ext/json/tests/bug45791.phpt b/ext/json/tests/bug45791.phpt new file mode 100644 index 0000000000..5737ade025 --- /dev/null +++ b/ext/json/tests/bug45791.phpt @@ -0,0 +1,13 @@ +--TEST-- +Bug #45791 (json_decode() does not handle number 0e0) +--FILE-- + +--EXPECT-- +object(stdClass)#1 (1) { + ["zero"]=> + float(0) +} -- 2.40.0