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
Remove support for variable variables from parser, typechecker and frontend
[hiphop-php.git]
/
hphp
/
test
/
zend
/
good
/
tests
/
lang
/
bug7515.php
blob
4aa6bd037b0a5c38abb537e8d4d88209a6d0c14d
1
<
?php
2
class
obj
{
3
function
method
() {}
4
}
5
6
$o
->
root
=
new
obj
();
7
8
ob_start
();
9
var_dump
(
$o
);
10
$x
=
ob_get_contents
();
11
ob_end_clean
();
12
13
$o
->
root
->
method
();
14
15
ob_start
();
16
var_dump
(
$o
);
17
$y
=
ob_get_contents
();
18
ob_end_clean
();
19
if
(
$x
==
$y
) {
20
print
"success"
;
21
}
else
{
22
print
"failure
23
x=
$x
24
y=
$y
25
"
;
26
}
27
?
>