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
Basic flow analysis on if statements
[hiphop-php.git]
/
hphp
/
test
/
slow
/
iface_impl_parameter_check
/
03.php
blob
bdbc06f15f0f1eb103b0c7472f0a9a76fc86bca0
1
<
?hh
// should fail
2
3
interface
I
{
4
function
query
();
5
}
6
7
class
UserClass
{
8
function
query
(
$arg1
) {
// Not a built-in function => full check
9
10
}
11
}
12
13
class
C
extends
UserClass
implements
I
{
14
}
15
16
17
<<
__EntryPoint
>>
18
function
main_03
() {
19
print
(
"Success
\n
"
);
20
}