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
Updating submodules
[hiphop-php.git]
/
hphp
/
test
/
slow
/
ext_array
/
array_push.php
blob
2b1ee61b9d9f5f34801e3a89e16d06f046a4c386
1
<
?hh
2
3
4
<<
__EntryPoint
>>
5
function
main_array_push
() {
6
$input
=
varray
[
"orange"
,
"banana"
];
7
$size
=
array_push
(
inout
$input
,
"apple"
,
"raspberry"
);
8
var_dump
(
$input
);
9
var_dump
(
$size
);
10
}