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
Handle this typehints
[hiphop-php.git]
/
hphp
/
test
/
slow
/
exceptions
/
unwind_fcallarray.php
blob
4e32c829405c19077b678d72bb62598bc1056d9b
1
<
?php
2
3
function
handle_error
() {
4
throw new
Exception
(
"die rebel scum"
);
5
}
6
7
function
main
() {
8
set_error_handler
(
'handle_error'
);
9
apc_store
(
'foo'
,
'bar'
);
10
$success
=
null
;
11
$x
=
call_user_func_array
(
'apc_fetch'
,
array
(
'quux'
,
$success
));
12
}
13
14
main
();