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
add bitset operations and tests
[hiphop-php.git]
/
hphp
/
test
/
slow
/
dynamic_methods
/
1203.php
blob
a75eb757c4d9ee31b6dc9b0ee3688c9fb92f2367
1
<
?php
2
3
$i
=
'gi'
;
4
$s
=
'gs'
;
5
class
A
{
6
public function
&
dyn_test
(&
$a
) {
7
global
$i
;
8
$a
=
$i
;
9
return
$i
;
10
}
11
}
12
$obj
=
new
A
();
13
$f
=
'dyn_test'
;
14
$c
= &
$obj
->
$f
(
$b
);
15
var_dump
(
$b
);
16
var_dump
(
$c
);