diff options
Diffstat (limited to 'ext/wddx/tests/bug73831.phpt')
-rw-r--r-- | ext/wddx/tests/bug73831.phpt | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/ext/wddx/tests/bug73831.phpt b/ext/wddx/tests/bug73831.phpt deleted file mode 100644 index dc25f3c092..0000000000 --- a/ext/wddx/tests/bug73831.phpt +++ /dev/null @@ -1,25 +0,0 @@ ---TEST-- -Bug #73831 (NULL Pointer Dereference while unserialize php object) ---SKIPIF-- -<?php if (!extension_loaded("wddx")) print "skip"; ?> ---FILE-- -<?php -$xml = <<<EOF -<?xml version="1.0" ?> -<wddxPacket version="1.0"> - <struct> - <var name="php_class_name"> - <string>Throwable</string> - </var> - </struct> -</wddxPacket> -EOF; -try { - $wddx = wddx_deserialize($xml); -} catch(Error $e) { echo $e->getMessage(); } -?> ---EXPECTF-- -Deprecated: Function wddx_deserialize() is deprecated in %s on line %d - -Warning: wddx_deserialize(): Class throwable can not be instantiated in %sbug73831.php on line %d -Cannot instantiate interface Throwable |