1--TEST-- 2Bug #72340: Double Free Courruption in wddx_deserialize 3--SKIPIF-- 4<?php 5if (!extension_loaded("wddx")) print "skip"; 6?> 7--FILE-- 8<?php 9$xml = <<<EOF 10<?xml version='1.0' ?> 11<!DOCTYPE wddxPacket SYSTEM 'wddx_0100.dtd'> 12<wddxPacket version='1.0'> 13 <array><var name="XXXXXXXX"><boolean value="none">TEST</boolean></var> 14 <var name="YYYYYYYY"><var name="ZZZZZZZZ"><var name="EZEZEZEZ"> 15 </var></var></var> 16 </array> 17</wddxPacket> 18EOF; 19$array = wddx_deserialize($xml); 20var_dump($array); 21?> 22--EXPECT-- 23array(0) { 24} 25