We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54ad47f commit 15eb917Copy full SHA for 15eb917
ext/standard/tests/strings/implode_error.phpt
@@ -21,18 +21,7 @@ try {
21
} catch (TypeError $e) {
22
echo $e->getMessage(), "\n";
23
}
24
-
25
-/* NULL as glue */
26
-try {
27
- var_dump( implode(NULL, "abcd") );
28
-} catch (TypeError $e) {
29
- echo $e->getMessage(), "\n";
30
-}
31
-?>
32
--EXPECTF--
33
implode(): Argument #2 ($array) must be of type array, null given
34
35
implode(): Argument #2 ($array) must be of type array, string given
36
37
-Deprecated: implode(): Passing null to parameter #1 ($separator) of type array|string is deprecated in %s on line %d
38
-implode(): Argument #2 ($array) must be of type array, string given
0 commit comments