Revert "make hphpc able to use ini files"
[hiphop-php.git] / hphp / test / zend / bad / ext / standard / tests / array / end.php.expectf
blob424b1f189d7b36705305ca1c1360a2ab09e82df0
1 *** Testing end() on different arrays ***
2 -- Iteration 1 --
3 int(0)
4 int(0)
5 -- Iteration 2 --
6 int(100)
7 int(100)
8 -- Iteration 3 --
9 string(1) "y"
10 string(1) "y"
11 -- Iteration 4 --
12 NULL
13 NULL
14 -- Iteration 5 --
15 int(5)
16 int(5)
17 -- Iteration 6 --
18 float(-0.9)
19 float(-0.9)
20 -- Iteration 7 --
21 float(-4.9999999)
22 float(-4.9999999)
23 -- Iteration 8 --
24 bool(false)
25 bool(false)
26 -- Iteration 9 --
27 string(3) "SOA"
28 string(3) "SOA"
29 -- Iteration 10 --
30 array(0) {
32 array(0) {
34 -- Iteration 11 --
35 string(0) ""
36 string(0) ""
37 -- Iteration 12 --
38 string(1) " "
39 string(1) " "
40 -- Iteration 13 --
41 float(-2147483648)
42 float(-2147483648)
43 -- Iteration 14 --
44 float(-2147483648)
45 float(-2147483648)
46 -- Iteration 15 --
47 float(2)
48 float(2)
50 *** Testing end() with sub-arrays ***
51 array(3) {
52   [1]=>
53   string(3) "one"
54   ["two"]=>
55   int(2)
56   [""]=>
57   string(1) "f"
59 string(1) "f"
61 *** Testing end() when array elements are deleted ***
63 -- Remove first element from array --
64 string(7) "neg.008"
66 -- Remove last element from array --
67 int(-4)
68 int(-4)
70 -- Remove any element from array apart from first and last element --
71 int(-4)
72 string(1) "b"
73 int(-4)
75 *** Testing end() on objects ***
76 object(foo1)#%d (0) {
78 array(2) {
79   [0]=>
80   &object(foo)#%d (0) {
81   }
82   [1]=>
83   &object(foo1)#%d (0) {
84   }
87 *** Testing end() on resource type ***
88 resource(%d) of type (stream)
89 resource(%d) of type (stream)
91 *** Testing error conditions ***
92 HipHop Warning: %s
93 NULL
94 HipHop Warning: %s
95 NULL
96 HipHop Warning: %s
97 NULL
98 HipHop Warning: %s
99 NULL
100 bool(false)
101 Done