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
/
prefixed_string
/
prefixed_string.php
blob
680c8e73f08fae45ad55f2a9ef1cfaacf5533dd2
1
<
?hh
// strict
2
3
function
f
():
void
{
4
$x
=
re
"blah blah
\n
"
;
5
echo
(
$x
);
6
$s1
=
"Be"
;
7
$s2
=
"diff"
;
8
$s
=
re
"{
$s1
} the {
$s2
} you want to see.
\n
"
;
9
echo
(
$s
);
10
}
11
12
13
<<
__EntryPoint
>>
14
function
main_prefixed_string
() {
15
f
();
16
}