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
remove array_multisort and convert array_multisortN to use inout
[hiphop-php.git]
/
hphp
/
test
/
zend
/
good
/
ext
/
standard
/
tests
/
array
/
bug22088.php
blob
be1a1f8e1363c159ad134723b2bd9d2c569314e2
1
<
?hh
2
<<
__EntryPoint
>>
function
main
():
void
{
3
$a
=
array
(
'a'
,
'b'
,
'c'
);
4
$last
=
array_shift
(&
$a
);
5
$a
[] =
'a'
;
6
var_dump
(
$a
);
7
8
$a
=
array
(
'a'
=>
1
,
'b'
=>
2
,
'c'
=>
3
);
9
$last
=
array_shift
(&
$a
);
10
$a
[] =
'a'
;
11
var_dump
(
$a
);
12
}