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
Allow defaults to call policied
[hiphop-php.git]
/
hphp
/
test
/
slow
/
rx
/
is_enabled_bad4.php
blob
b83c45df4e8482df2157f52d20b0d8b4ec1edb50
1
<
?hh
2
3
function
test
()[
rx
] {
4
if
(
Rx\IS_ENABLED
) {
5
return
0
;
6
}
else
{
7
echo
"disabled
\n
"
;
8
return
0
;
9
}
10
echo
"uh-oh!
\n
"
;
11
}
12
13
<<
__EntryPoint
>>
14
function
main
() {
15
var_dump
(
test
());
16
}