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
/
array_push_basic.php.expectf
blob
5894718175e4a7c1816c9adcec5540e5eaa43eff
1
*** Testing array_push() : basic functionality ***
2
3
-- Push values onto an indexed array --
4
int(5)
5
array(5) {
6
[0]=>
7
string(4) "zero"
8
[1]=>
9
string(3) "one"
10
[2]=>
11
string(3) "two"
12
[3]=>
13
string(5) "three"
14
[4]=>
15
string(4) "four"
16
}
17
18
-- Push values onto an associative array --
19
int(4)
20
array(4) {
21
["one"]=>
22
string(2) "un"
23
["two"]=>
24
string(4) "deux"
25
[0]=>
26
string(5) "three"
27
[1]=>
28
string(4) "four"
29
}
30
Done