xref: /PHP-7.3/ext/wddx/tests/bug73631.phpt (revision 27625f06)
1--TEST--
2Bug #73631 (Memory leak due to invalid wddx stack processing)
3--SKIPIF--
4<?php if (!extension_loaded("wddx")) print "skip"; ?>
5---XFAIL--
6Still has memory leaks in debug build.
7--FILE--
8<?php
9$xml = <<<EOF
10<?xml version="1.0" ?>
11<wddxPacket version="1.0">
12<number>1234</number>
13<binary><boolean/></binary>
14</wddxPacket>
15EOF;
16$wddx = wddx_deserialize($xml);
17var_dump($wddx);
18?>
19--EXPECT--
20int(1234)
21