repo.or.cz
/
hiphop-php.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
import zend standard tests
[hiphop-php.git]
/
hphp
/
test
/
zend
/
bad
/
ext-standard-serialize
/
bug14293.php
blob
327b3ac7eb5bf519f6a2ac78b56e12d29529c765
1
<
?php
2
class
t
3
{
4
function
t
()
5
{
6
$this
->
a
=
'hello'
;
7
}
8
9
function
__sleep
()
10
{
11
echo
"__sleep called
\n
"
;
12
return array
(
'a'
,
'b'
);
13
}
14
}
15
16
$t
=
new
t
();
17
$data
=
serialize
(
$t
);
18
echo
"
$data\n
"
;
19
$t
=
unserialize
(
$data
);
20
var_dump
(
$t
);
21
22
?
>