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
Handle class names that collide with builtins
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
tconst
/
cannot_override_tconst.php
blob
d80a8d39ef4a111ab515f03d9412592c8bb102c5
1
<
?hh
// strict
2
3
class
ParentClass
{
4
const
type ID
=
arraykey
;
5
}
6
7
class
Child
extends
ParentClass
{
8
const
type ID
=
int
;
9
}