diff options
Diffstat (limited to 'ext/wddx/tests/bug72749.phpt')
-rw-r--r-- | ext/wddx/tests/bug72749.phpt | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/ext/wddx/tests/bug72749.phpt b/ext/wddx/tests/bug72749.phpt deleted file mode 100644 index 49a7af9c73..0000000000 --- a/ext/wddx/tests/bug72749.phpt +++ /dev/null @@ -1,35 +0,0 @@ ---TEST-- -Bug #72749: wddx_deserialize allows illegal memory access ---SKIPIF-- -<?php -if (!extension_loaded('wddx')) { - die('skip. wddx not available'); -} -?> ---FILE-- -<?php -$xml = <<<XML -<?xml version='1.0'?> -<!DOCTYPE wddxPacket SYSTEM 'wddx_0100.dtd'> -<wddxPacket version='1.0'> -<header/> - <data> - <struct> - <var name='aDateTime3'> - <dateTime>2\r2004-09-10T05:52:49+00</dateTime> - </var> - </struct> - </data> -</wddxPacket> -XML; - -$array = wddx_deserialize($xml); -var_dump($array); -?> ---EXPECTF-- -Deprecated: Function wddx_deserialize() is deprecated in %s on line %d -array(1) { - ["aDateTime3"]=> - string(24) "2 -2004-09-10T05:52:49+00" -} |