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
Fix memoization of functions called with keyset arguments
[hiphop-php.git]
/
hphp
/
test
/
quick
/
call_nonstatic_this.php
blob
0d4cd48454cb8ae8dc330196fef8fb9d3452e45e
1
<
?php
2
3
class
B
{
4
function
test
() {
5
D
::
meth
();
6
}
7
function
test2
() {
8
E
::
meth
();
9
}
10
}
11
class
D
extends
B
{
12
function
meth
() {
13
var_dump
(
isset
(
$this
));
14
if
(
isset
(
$this
))
var_dump
(
$this
);
15
}
16
}
17
class
E
extends
B
{
18
function
meth
() {
19
var_dump
(
isset
(
$this
));
20
if
(
isset
(
$this
))
var_dump
(
$this
);
21
}
22
}
23
function
main
() {
24
$d
=
new
D
;
25
$d
->
test
();
26
$d
->
test2
();
27
$e
=
new
E
;
28
$e
->
test
();
29
$e
->
test2
();
30
}
31
main
();