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
No error on use of `unsafe_cast`
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
dynamic_props1.php
blob
ffa79f241327e7f9ee4b4a306b2b301382679a45
1
<
?hh
// partial
2
3
class
A
{
4
const
c
=
1
;
5
static
$f1
=
"42"
;
6
}
7
8
function
f
() {
9
$a
=
A
::
c
;
// no errors
10
$b
=
A
::
$f1
;
// no errors
11
}