Create post-HADVAs expect files
[hiphop-php.git] / hphp / test / slow / disable-intish-cast / complete.php.expectf.hadva
blob37f5c101e275ad4335bbf8a212230343dce928fd
1 ******* ad-hoc tests ********************************
2 =============== get ================================
3 Out of bounds dict access: invalid index "10"
4 =============== isset===============================
5 bool(false)
6 =============== akey-exists=========================
7 bool(false)
8 =============== idx ================================
9 NULL
10 =============== null-get ===========================
11 string(3) "def"
12 =============== set ================================
13 =============== get ================================
14 Out of bounds dict access: invalid index 10
15 =============== isset===============================
16 bool(false)
17 =============== akey-exists=========================
18 bool(false)
19 =============== idx ================================
20 NULL
21 =============== null-get ===========================
22 string(3) "def"
23 =============== set ================================
24 =============== get ================================
25 Out of bounds dict access: invalid index "2"
26 =============== isset===============================
27 bool(false)
28 =============== akey-exists=========================
29 bool(false)
30 =============== idx ================================
31 NULL
32 =============== null-get ===========================
33 string(3) "def"
34 =============== set ================================
35 =============== get ================================
36 int(3)
37 =============== isset===============================
38 bool(true)
39 =============== akey-exists=========================
40 bool(true)
41 =============== idx ================================
42 int(3)
43 =============== null-get ===========================
44 int(3)
45 =============== set ================================
46 =============== get ================================
47 Out of bounds dict access: invalid index "10"
48 =============== isset===============================
49 bool(false)
50 =============== akey-exists=========================
51 bool(false)
52 =============== idx ================================
53 NULL
54 =============== null-get ===========================
55 string(3) "def"
56 =============== set ================================
57 =============== get ================================
58 string(3) "abc"
59 =============== isset===============================
60 bool(true)
61 =============== akey-exists=========================
62 bool(true)
63 =============== idx ================================
64 string(3) "abc"
65 =============== null-get ===========================
66 string(3) "abc"
67 =============== set ================================
69 ******* constant string tests ***********************
70 =============== get ================================
71 Out of bounds dict access: invalid index "2"
72 =============== isset===============================
73 bool(false)
74 =============== akey-exists=========================
75 bool(false)
76 =============== idx ================================
77 NULL
78 =============== null-get ===========================
79 string(3) "def"
80 =============== set ================================
81 =============== get ================================
82 Out of bounds dict access: invalid index "2"
83 =============== isset===============================
84 bool(false)
85 =============== akey-exists=========================
86 bool(false)
87 =============== idx ================================
88 NULL
89 =============== null-get ===========================
90 string(3) "def"
91 =============== set ================================
92 =============== get ================================
93 Out of bounds dict access: invalid index "2"
94 =============== isset===============================
95 bool(false)
96 =============== akey-exists=========================
97 bool(false)
98 =============== idx ================================
99 NULL
100 =============== null-get ===========================
101 string(3) "def"
102 =============== set ================================
104 ******* constant int tests **************************
105 =============== get ================================
106 Out of bounds dict access: invalid index 2
107 =============== isset===============================
108 bool(false)
109 =============== akey-exists=========================
110 bool(false)
111 =============== idx ================================
112 NULL
113 =============== null-get ===========================
114 string(3) "def"
115 =============== set ================================
116 =============== get ================================
117 int(3)
118 =============== isset===============================
119 bool(true)
120 =============== akey-exists=========================
121 bool(true)
122 =============== idx ================================
123 int(3)
124 =============== null-get ===========================
125 int(3)
126 =============== set ================================
127 =============== get ================================
128 string(3) "abc"
129 =============== isset===============================
130 bool(true)
131 =============== akey-exists=========================
132 bool(true)
133 =============== idx ================================
134 string(3) "abc"
135 =============== null-get ===========================
136 string(3) "abc"
137 =============== set ================================
139 ******* casting tests *******************************
140 ======================= dict cast ================
141 dict(2) {
142   ["1"]=>
143   bool(true)
144   ["2"]=>
145   bool(false)
147 ======================= darray cast ================
148 dict(2) {
149   ["1"]=>
150   bool(true)
151   ["2"]=>
152   bool(false)
154 ======================= dict cast ================
155 dict(3) {
156   ["1"]=>
157   string(1) "1"
158   ["2"]=>
159   string(1) "2"
160   ["3"]=>
161   string(1) "3"
163 ======================= darray cast ================
164 dict(3) {
165   ["1"]=>
166   string(1) "1"
167   ["2"]=>
168   string(1) "2"
169   ["3"]=>
170   string(1) "3"
172 ======================= literals ===================
173 dict(2) {
174   ["1"]=>
175   bool(true)
176   ["2"]=>
177   bool(false)
179 dict(3) {
180   ["1"]=>
181   string(1) "1"
182   ["2"]=>
183   string(1) "2"
184   ["3"]=>
185   string(1) "3"