xref: /PHP-5.6/ext/wddx/tests/bug73331.phpt (revision 6045de69)
1--TEST--
2Bug #73331 (NULL Pointer Dereference in WDDX Packet Deserialization with PDORow)
3--SKIPIF--
4<?php if (!extension_loaded("wddx") || !extension_loaded("pdo")) print "skip"; ?>
5--FILE--
6<?php
7
8$wddx = "<wddxPacket version='1.0'><header/><data><struct><var name='php_class_name'><string>PDORow</string></var></struct></data></wddxPacket>";
9var_dump(wddx_deserialize($wddx));
10?>
11--EXPECTF--
12
13Warning: wddx_deserialize(): Class pdorow can not be unserialized in %s73331.php on line %d
14NULL
15
16