From 045b283a7d014deb38e7f8763d3ad098efce2afd Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Mon, 4 Jun 2007 23:51:32 +0000 Subject: Fixed bug #41567 (json_encode() double conversion is inconsistent with PHP). --- ext/json/tests/bug41567.phpt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 ext/json/tests/bug41567.phpt (limited to 'ext/json/tests') diff --git a/ext/json/tests/bug41567.phpt b/ext/json/tests/bug41567.phpt new file mode 100644 index 0000000000..837c360a87 --- /dev/null +++ b/ext/json/tests/bug41567.phpt @@ -0,0 +1,13 @@ +--TEST-- +Bug #41567 (json_encode() double conversion is inconsistent with PHP) +--FILE-- + +--EXPECT-- +float(123456789.12345) +Done -- cgit v1.2.1