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
convert ***sort builtins to use inout instead of references
[hiphop-php.git]
/
hphp
/
test
/
slow
/
bad_function_calls
/
1716.php
blob
8b7920d359e234db01e2e6a71b8e51a6a748d6c0
1
<
?hh
2
3
<<
__EntryPoint
>>
4
function
f
() {
5
$arr
=
array
(
null
);
6
try
{
sort
(
inout
$arr
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
); }
catch
(
Exception
$e
) {
echo
"
\n
"
.
'Warning: '
.
$e
->
getMessage
().
' in '
.
__FILE__
.
' on line '
.
__LINE__
.
"
\n
"
; }
7
var_dump
(
$arr
);
8
}