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_frozenvector
/
hh_frozenvector1.php
blob
e0f1ba59cc95d80d6a211b064b47ef802ec6c0b1
1
<
?hh
2
3
// Test that in the top-level namespace HH\FrozenVector can be
4
// accessed as FrozenVector.
5
6
function
main
() {
7
$s
=
FrozenVector
{
1
,
2
,
3
};
8
var_dump
(
$s
->
isEmpty
());
9
}
10
11
main
();