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
Untyped variadic function types should not be permitted in strict mode
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
reactive
/
test_global_class.php
blob
0ad52f27f5e897b2640ad7ca356a6e40085b5e1c
1
<
?hh
// strict
2
3
class
GlobalClassName
{
4
public static
int
$x
=
0
;
5
6
}
7
8
<<
__Rx
>>
9
function
foo
():
void
{
10
$y
=
GlobalClassName
::
$x
+
1
;
11
}