mirror of
https://github.com/php/php-src.git
synced 2024-10-22 16:57:05 +00:00
19 lines
243 B
Plaintext
19 lines
243 B
Plaintext
|
--TEST--
|
||
|
Bug #27287 (segfault with deserializing object data)
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
class foo {
|
||
|
}
|
||
|
$foo = new foo();
|
||
|
$foo->abc = 'def';
|
||
|
|
||
|
$string = wddx_serialize_value($foo);
|
||
|
$bar = wddx_deserialize($string);
|
||
|
|
||
|
echo "OK\n";
|
||
|
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
OK
|