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
Fix build break after oxidized regen
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
reactive
/
rx_if_enabled3.php
blob
802d56550b57d157f4c69b9aa7ec2883c388475b
1
<
?hh
// strict
2
3
<<
__Rx
>>
4
function
f1
(
bool
$x
):
int
{
5
// ERROR
6
if
(
HH\Rx\IS_ENABLED ||
$x
) {
7
return
1
;
8
}
else
{
9
print
'non-rx'
;
10
}
11
return
5
;
12
}