@@ -74,26 +74,26 @@ fclose($file_handle); //closing the file handle
74
74
75
75
echo "*** Done *** " ;
76
76
?>
77
- --EXPECTF --
77
+ --EXPECT --
78
78
*** Testing strtr() function: with unexpected inputs for 'replace_pairs' ***
79
79
80
80
-- Iteration 1 --
81
- strtr(): Argument #2 ($from) must be of type array, string given
81
+ strtr(): Argument #2 ($from) must be of type array, int given
82
82
83
83
-- Iteration 2 --
84
- strtr(): Argument #2 ($from) must be of type array, string given
84
+ strtr(): Argument #2 ($from) must be of type array, int given
85
85
86
86
-- Iteration 3 --
87
- strtr(): Argument #2 ($from) must be of type array, string given
87
+ strtr(): Argument #2 ($from) must be of type array, int given
88
88
89
89
-- Iteration 4 --
90
- strtr(): Argument #2 ($from) must be of type array, string given
90
+ strtr(): Argument #2 ($from) must be of type array, float given
91
91
92
92
-- Iteration 5 --
93
- strtr(): Argument #2 ($from) must be of type array, string given
93
+ strtr(): Argument #2 ($from) must be of type array, float given
94
94
95
95
-- Iteration 6 --
96
- strtr(): Argument #2 ($from) must be of type array, string given
96
+ strtr(): Argument #2 ($from) must be of type array, float given
97
97
98
98
-- Iteration 7 --
99
99
string(6) "012atm"
@@ -105,30 +105,26 @@ string(6) "012atm"
105
105
string(6) "122atm"
106
106
107
107
-- Iteration 10 --
108
- strtr(): Argument #2 ($from) must be of type array, string given
108
+ strtr(): Argument #2 ($from) must be of type array, true given
109
109
110
110
-- Iteration 11 --
111
- strtr(): Argument #2 ($from) must be of type array, string given
111
+ strtr(): Argument #2 ($from) must be of type array, false given
112
112
113
113
-- Iteration 12 --
114
- strtr(): Argument #2 ($from) must be of type array, string given
114
+ strtr(): Argument #2 ($from) must be of type array, true given
115
115
116
116
-- Iteration 13 --
117
- strtr(): Argument #2 ($from) must be of type array, string given
117
+ strtr(): Argument #2 ($from) must be of type array, false given
118
118
119
119
-- Iteration 14 --
120
-
121
- Deprecated: strtr(): Passing null to parameter #2 ($from) of type array|string is deprecated in %s on line %d
122
- strtr(): Argument #2 ($from) must be of type array, string given
120
+ strtr(): Argument #2 ($from) must be of type array, null given
123
121
124
122
-- Iteration 15 --
125
-
126
- Deprecated: strtr(): Passing null to parameter #2 ($from) of type array|string is deprecated in %s on line %d
127
- strtr(): Argument #2 ($from) must be of type array, string given
123
+ strtr(): Argument #2 ($from) must be of type array, null given
128
124
129
125
-- Iteration 16 --
130
- strtr(): Argument #2 ($from) must be of type array, string given
126
+ strtr(): Argument #2 ($from) must be of type array, sample given
131
127
132
128
-- Iteration 17 --
133
- strtr(): Argument #2 ($from) must be of type array|string , resource given
129
+ strtr(): Argument #2 ($from) must be of type array, resource given
134
130
*** Done ***
0 commit comments