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
global statement removal: hphp/test [7/x]
[hiphop-php.git]
/
hphp
/
test
/
quick
/
exceptions6.php
blob
0f4294c65ff80901965992da154f18f7d2d70905
1
<
?php
2
class
C
{
3
public function
baz
(
$z
) {
4
$x
=
1
;
5
return
$z
=
call_user_func
(
array
(
$this
,
'foo'
),
$z
);
6
}
7
public function
bar
(
$z
) {
8
$x
=
1
;
9
return
$z
=
call_user_func
(
array
(
$this
,
'baz'
),
$z
);
10
}
11
public function
foo
(
$z
) {
12
$x
=
1
;
13
return
$z
=
call_user_func
(
array
(
$this
,
'bar'
),
$z
);
14
}
15
}
16
function
bar
() {
17
$obj
=
new
C
;
18
$obj
->
foo
(
123
);
19
}
20
bar
();