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
Check for void/noreturn in conditionals
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
imports_partial.php
blob
ec74e3e40411cdfefce7374341336ef8b7800f0f
1
<
?hh
// partial
2
echo
(
require_once
dirname
(
__FILE__
) .
'/foo.php'
);
3
include_once
dirname
(
__FILE__
) .
'/foo.php'
;
4
5
function
foo
() {
6
$x
=
require
(
'bar.php'
);
7
$y
=
$x
.(
include
(
'baz.php'
));
8
echo
(
$y
);
9
}