summaryrefslogtreecommitdiff
path: root/ext/wddx/tests/bug45901.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/wddx/tests/bug45901.phpt')
-rw-r--r--ext/wddx/tests/bug45901.phpt21
1 files changed, 0 insertions, 21 deletions
diff --git a/ext/wddx/tests/bug45901.phpt b/ext/wddx/tests/bug45901.phpt
deleted file mode 100644
index c89b230eb9..0000000000
--- a/ext/wddx/tests/bug45901.phpt
+++ /dev/null
@@ -1,21 +0,0 @@
---TEST--
-Bug #45901 (wddx_serialize_value crash with SimpleXMLElement object)
---SKIPIF--
-<?php
-if (!extension_loaded("wddx")) print "skip";
-if (!extension_loaded("simplexml")) print "skip SimpleXML not present";
-?>
---FILE--
-<?php
-
-$xml = new SimpleXMLElement('<data></data>');
-$xml->addChild('test');
-echo wddx_serialize_value($xml, 'Variables') . "\n";
-echo "DONE";
-?>
---EXPECTF--
-Deprecated: Function wddx_serialize_value() is deprecated in %sbug45901.php on line %d
-
-Warning: wddx_serialize_value(): Class SimpleXMLElement can not be serialized in %sbug45901.php on line %d
-<wddxPacket version='1.0'><header><comment>Variables</comment></header><data></data></wddxPacket>
-DONE