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
sync the repo
[hiphop-php.git]
/
hphp
/
test
/
quick
/
undefined-index.php
blob
0ebabc7f67b0f692c8c85639b4860d0e86ef589c
1
<
?hh
2
<<
__EntryPoint
>>
function
main
():
void
{
3
$arr
=
vec
[];
4
try
{
5
$a
=
$arr
[
123
];
6
echo
$a
;
7
}
catch
(
Exception
$e
) {
echo
$e
->
getMessage
().
"
\n
"
; }
8
9
$obj
=
new
stdClass
;
10
$a
=
$obj
->
flubb
;
11
echo
$a
;
12
}