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