Create post-HADVAs expect files
[hiphop-php.git] / hphp / test / quick / keyset / is-a.php.expect.hadva
blob7e1eede1e6afe7cc9e164943257154a734cddcef
1 ====================================================
2 Testing: keyset(0) {
4         gettype: string(6) "keyset"
5         is_null: bool(false)
6         is_bool: bool(false)
7         is_int: bool(false)
8         is_float: bool(false)
9         is_numeric: bool(false)
10         is_string: bool(false)
11         is_scalar: bool(false)
12         is_php_array: bool(false)
13         is_vec: bool(false)
14         is_dict: bool(false)
15         is_keyset: bool(true)
16         is_object: bool(false)
17         is_resource: bool(false)
18 is Traversable: bool(true)
19 is KeyedTraversable: bool(true)
20 is Container: bool(true)
21 is KeyedContainer: bool(true)
22 is XHPChild: bool(true)
23 is Vector: bool(false)
24 is Map: bool(false)
25 is Foo: bool(false)
26 is (string) HH\Traversable: bool(false)
27 is (string) HH\KeyedTraversable: bool(false)
28 is (string) HH\Container: bool(false)
29 is (string) HH\KeyedContainer: bool(false)
30 is (string) XHPChild: bool(false)
31 is (string) Vector: bool(false)
32 is (string) Map: bool(false)
33 is (string) Foo: bool(false)
34 ====================================================
35 Testing: keyset(4) {
36   int(123)
37   string(3) "456"
38   int(789)
39   string(3) "abc"
41         gettype: string(6) "keyset"
42         is_null: bool(false)
43         is_bool: bool(false)
44         is_int: bool(false)
45         is_float: bool(false)
46         is_numeric: bool(false)
47         is_string: bool(false)
48         is_scalar: bool(false)
49         is_php_array: bool(false)
50         is_vec: bool(false)
51         is_dict: bool(false)
52         is_keyset: bool(true)
53         is_object: bool(false)
54         is_resource: bool(false)
55 is Traversable: bool(true)
56 is KeyedTraversable: bool(true)
57 is Container: bool(true)
58 is KeyedContainer: bool(true)
59 is XHPChild: bool(true)
60 is Vector: bool(false)
61 is Map: bool(false)
62 is Foo: bool(false)
63 is (string) HH\Traversable: bool(false)
64 is (string) HH\KeyedTraversable: bool(false)
65 is (string) HH\Container: bool(false)
66 is (string) HH\KeyedContainer: bool(false)
67 is (string) XHPChild: bool(false)
68 is (string) Vector: bool(false)
69 is (string) Map: bool(false)
70 is (string) Foo: bool(false)
71 ====================================================
72 Testing for is_keyset: NULL
74 ====================================================
75 Testing for is_keyset: bool(false)
77 ====================================================
78 Testing for is_keyset: int(7)
80 ====================================================
81 Testing for is_keyset: float(1.23)
83 ====================================================
84 Testing for is_keyset: string(4) "abcd"
86 ====================================================
87 Testing for is_keyset: object(stdClass) (0) {
90 ====================================================
91 Testing for is_keyset: vec(3) {
92   int(1)
93   int(2)
94   int(3)
97 ====================================================
98 Testing for is_keyset: object(HH\Vector) (3) {
99   [0]=>
100   string(1) "a"
101   [1]=>
102   string(1) "b"
103   [2]=>
104   string(1) "c"
107 ====================================================
108 Testing for is_keyset: object(HH\Map) (2) {
109   [100]=>
110   string(1) "a"
111   ["b"]=>
112   int(200)
115 ====================================================
116 Testing for is_keyset: object(HH\Pair) (2) {
117   [0]=>
118   int(123)
119   [1]=>
120   string(3) "abc"
123 ====================================================
124 Testing for is_keyset: resource(4) of type (gd)