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
Updating submodules
[hiphop-php.git]
/
hphp
/
test
/
slow
/
new_object_expression
/
775.php
blob
7785359178974cb33c7c5cfccc18879d0188a39f
1
<
?hh
2
3
class
A
{
4
public
$num
;
5
}
6
7
<<
__EntryPoint
>>
8
function
main
() {
9
foreach
((
$a
=
new
A
())
as
$v
);
10
$a
->
num
=
1
;
11
print
(
$a
->
num
);
12
}