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
Implement support for binary-number syntax
[hiphop-php.git]
/
hphp
/
test
/
slow
/
hh_namespace_migration
/
hh_set
/
hh_set4.php
blob
7f53f797f2fef1970c66a469f4583cac1c65b34e
1
<
?hh
2
3
// Test that we can define our own custom Set class
4
// as long as we're not in the top-level namespace.
5
6
namespace
Test
;
7
8
class
Set
{
9
public function
__construct
() {
10
echo
"Custom Set
\n
"
;
11
}
12
}
13
14
function
main
() {
15
$custom_set
=
new
Set
();
16
}
17
18
main
();