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
/
xhp_attr_25.php
blob
4b5e220c2eac9e53f88fb9cb4eab7198e5150915
1
<
?hh
// strict
2
3
class
:
foo
extends
XHPTest
{
4
attribute
5
Stringish xlink
:
href
,
6
float
opacity
;
7
}
8
9
function
testAttributeWithColon
():
void
{
10
<
foo xlink
:
href
=
"foo"
opacity
={
0.25
} />;
11
}