From eeccf79e5c2d194eae0046e27340373febd374d4 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Thu, 18 May 2006 20:19:34 +0000 Subject: [PATCH] fix test and add new for 64bit only --- ext/wddx/tests/bug35410.phpt | 5 ++ ext/wddx/tests/bug35410_64bit.phpt | 76 ++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100755 ext/wddx/tests/bug35410_64bit.phpt diff --git a/ext/wddx/tests/bug35410.phpt b/ext/wddx/tests/bug35410.phpt index a14544d03c..3b4b9b62cf 100755 --- a/ext/wddx/tests/bug35410.phpt +++ b/ext/wddx/tests/bug35410.phpt @@ -1,5 +1,10 @@ --TEST-- #35410 (wddx_deserialize() doesn't handle large ints as keys properly) +--SKIPIF-- + --FILE-- +--FILE-- + +
+Content Configuration File +
+ + + + + + + + + +10 + + +4 + + + + + + +desc + + + + + + + + + + + + + + +WDX; + +var_dump(wddx_deserialize($wddx)); +?> +--EXPECT-- +array(1) { + ["content_queries"]=> + array(1) { + ["content_113300831086270200"]=> + array(1) { + [113301888545229100]=> + array(3) { + ["max"]=> + int(10) + ["cache"]=> + int(4) + ["order"]=> + array(1) { + ["content_113300831086270200"]=> + array(1) { + ["CMS_BUILD"]=> + string(4) "desc" + } + } + } + } + } +} -- 2.40.0