summaryrefslogtreecommitdiff
path: root/ext/wddx/tests/bug27287.phpt
blob: 3183fbc2a08360c6efef24979906413227fe0a3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--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