mirror of
https://github.com/php/php-src.git
synced 2024-10-20 07:53:58 +00:00
c92ae847c7
fix existing ones
21 lines
308 B
PHP
Executable File
21 lines
308 B
PHP
Executable File
--TEST--
|
|
Bug #27287 (segfault with deserializing 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_deserialize($string);
|
|
|
|
echo "OK\n";
|
|
|
|
?>
|
|
--EXPECT--
|
|
OK
|