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
/
object_property_expression
/
795.php
blob
b07f8f50eda43bedfa0de6d0369705925b119c76
1
<
?php
2
3
$b
=
10
;
4
class
C1
{
5
public function
__get
(
$what
) {
6
global
$b
;
7
return
$b
;
8
}
9
}
10
$c1
=
new
C1
();
11
function
assign_ref
(&
$lv
) {
12
$lv
=
8
;
13
}
14
assign_ref
(
$c1
->
a
);
15
var_dump
(
$b
);