diff options
Diffstat (limited to 'ext/wddx/tests/bug41283.phpt')
-rw-r--r-- | ext/wddx/tests/bug41283.phpt | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/ext/wddx/tests/bug41283.phpt b/ext/wddx/tests/bug41283.phpt deleted file mode 100644 index 4a1f92b991..0000000000 --- a/ext/wddx/tests/bug41283.phpt +++ /dev/null @@ -1,30 +0,0 @@ ---TEST-- -Bug #41283 (Bug with serializing array key that are doubles or floats) ---SKIPIF-- -<?php if (!extension_loaded("wddx")) print "skip"; ?> ---FILE-- -<?php -$data = array( - 'somearray' => array('1.1' => 'One 1','1.2' => 'One 2', '1.0' => 'Three') -); - -var_dump(wddx_deserialize(wddx_serialize_vars('data'))); -?> ---EXPECTF-- -Deprecated: Function wddx_serialize_vars() is deprecated in %s on line %d - -Deprecated: Function wddx_deserialize() is deprecated in %s on line %d -array(1) { - ["data"]=> - array(1) { - ["somearray"]=> - array(3) { - ["1.1"]=> - string(5) "One 1" - ["1.2"]=> - string(5) "One 2" - ["1.0"]=> - string(5) "Three" - } - } -} |