php-src/ext/wddx/tests/bug27287.phpt
2005-12-21 11:43:24 +00:00

21 lines
308 B
PHP
Executable File

--TEST--
Bug #27287 (segfault with unserializing object data)
--SKIPIF--
<?php if (!extension_loaded("wddx")) print "skip"; ?>
--FILE--
<?php
class foo {
}
$foo = new foo();
$foo->abc = 'def';
$string = wddx_serialize_value($foo);
$bar = wddx_unserialize($string);
echo "OK\n";
?>
--EXPECT--
OK