import zend standard tests
[hiphop-php.git] / hphp / test / zend / bad / ext-standard-strings / strspn_variation1.php.expectf
blob360bf8f858b4230d2beb171dd78d9884386601be
1 *** Testing strspn() : with unexpected values for str argument ***
3 -- Iteration with str value as "0"
4 int(1)
5 int(0)
6 int(0)
8 -- Iteration with str value as "1"
9 int(1)
10 int(0)
11 int(0)
13 -- Iteration with str value as "12345"
14 int(5)
15 int(4)
16 int(4)
18 -- Iteration with str value as "-2345"
19 int(0)
20 int(4)
21 int(4)
23 -- Iteration with str value as "10.5"
24 int(2)
25 int(1)
26 int(1)
28 -- Iteration with str value as "-10.5"
29 int(0)
30 int(2)
31 int(2)
33 -- Iteration with str value as "101234567000"
34 int(12)
35 int(11)
36 int(10)
38 -- Iteration with str value as "1.07654321E-9"
39 int(1)
40 int(0)
41 int(0)
43 -- Iteration with str value as "0.5"
44 int(1)
45 int(0)
46 int(0)
48 -- Iteration with str value as "Array"
49 HipHop Warning: %a
50 NULL
51 HipHop Warning: %a
52 NULL
53 HipHop Warning: %a
54 NULL
56 -- Iteration with str value as "Array"
57 HipHop Warning: %a
58 NULL
59 HipHop Warning: %a
60 NULL
61 HipHop Warning: %a
62 NULL
64 -- Iteration with str value as "Array"
65 HipHop Warning: %a
66 NULL
67 HipHop Warning: %a
68 NULL
69 HipHop Warning: %a
70 NULL
72 -- Iteration with str value as "Array"
73 HipHop Warning: %a
74 NULL
75 HipHop Warning: %a
76 NULL
77 HipHop Warning: %a
78 NULL
80 -- Iteration with str value as "Array"
81 HipHop Warning: %a
82 NULL
83 HipHop Warning: %a
84 NULL
85 HipHop Warning: %a
86 NULL
88 -- Iteration with str value as ""
89 int(0)
90 bool(false)
91 bool(false)
93 -- Iteration with str value as ""
94 int(0)
95 bool(false)
96 bool(false)
98 -- Iteration with str value as "1"
99 int(1)
100 int(0)
101 int(0)
103 -- Iteration with str value as ""
104 int(0)
105 bool(false)
106 bool(false)
108 -- Iteration with str value as "1"
109 int(1)
110 int(0)
111 int(0)
113 -- Iteration with str value as ""
114 int(0)
115 bool(false)
116 bool(false)
118 -- Iteration with str value as ""
119 int(0)
120 bool(false)
121 bool(false)
123 -- Iteration with str value as ""
124 int(0)
125 bool(false)
126 bool(false)
128 -- Iteration with str value as "object"
129 int(2)
130 int(1)
131 int(1)
133 -- Iteration with str value as ""
134 int(0)
135 bool(false)
136 bool(false)
138 -- Iteration with str value as ""
139 int(0)
140 bool(false)
141 bool(false)
143 -- Iteration with str value as "Resource id #%d"
144 HipHop Warning: %a
145 NULL
146 HipHop Warning: %a
147 NULL
148 HipHop Warning: %a
149 NULL
150 Done