@@ -74,26 +74,26 @@ fclose($file_handle); //closing the file handle
7474
7575echo "*** Done *** " ;
7676?>
77- --EXPECTF --
77+ --EXPECT --
7878*** Testing strtr() function: with unexpected inputs for 'replace_pairs' ***
7979
8080-- 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
8282
8383-- 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
8585
8686-- 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
8888
8989-- 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
9191
9292-- 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
9494
9595-- 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
9797
9898-- Iteration 7 --
9999string(6) "012atm"
@@ -105,30 +105,26 @@ string(6) "012atm"
105105string(6) "122atm"
106106
107107-- 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
109109
110110-- 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
112112
113113-- 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
115115
116116-- 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
118118
119119-- 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
123121
124122-- 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
128124
129125-- 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
131127
132128-- 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
134130*** Done ***
0 commit comments