_(Z_EXPECTED_DOUBLE_OR_NULL, "of type ?float") \
_(Z_EXPECTED_NUMBER, "of type int|float") \
_(Z_EXPECTED_NUMBER_OR_NULL, "of type int|float|null") \
- _(Z_EXPECTED_STRING_OR_ARRAY, "of type string|array") \
- _(Z_EXPECTED_STRING_OR_ARRAY_OR_NULL, "of type string|array|null") \
+ _(Z_EXPECTED_STRING_OR_ARRAY, "of type array|string") \
+ _(Z_EXPECTED_STRING_OR_ARRAY_OR_NULL, "of type array|string|null") \
_(Z_EXPECTED_STRING_OR_LONG, "of type string|int") \
_(Z_EXPECTED_STRING_OR_LONG_OR_NULL, "of type string|int|null") \
_(Z_EXPECTED_CLASS_NAME_OR_OBJECT, "a valid class name or object") \
Arg value is /[a-zA-Z]/
string(1) "1"
-preg_replace(): Argument #1 ($regex) must be of type string|array, stdClass given
+preg_replace(): Argument #1 ($regex) must be of type array|string, stdClass given
Arg value is: Array
preg_replace(): Argument #1 ($regex) must be of type array when argument #2 ($replace) is an array, string given
-preg_replace(): Argument #2 ($replace) must be of type string|array, stdClass given
+preg_replace(): Argument #2 ($replace) must be of type array|string, stdClass given
Done
string(3) "hi3"
string(3) "hi2"
bool(false)
-Phar::extractTo(): Argument #2 ($files) must be of type string|array|null, stdClass given
+Phar::extractTo(): Argument #2 ($files) must be of type array|string|null, stdClass given
Phar::extractTo(): Argument #1 ($pathto) must be a valid path, array given
Invalid argument, extraction path must be non-zero length
Unable to use path "%soops" for extraction, it is a file, must be a directory
?>
--EXPECT--
SoapFault::__construct(): Argument #1 ($faultcode) is not a valid fault code
-SoapFault::__construct(): Argument #1 ($faultcode) must be of type string|array|null, stdClass given
+SoapFault::__construct(): Argument #1 ($faultcode) must be of type array|string|null, stdClass given
SoapFault
SoapFault
SoapFault::__construct(): Argument #1 ($faultcode) is not a valid fault code
--EXPECT--
array_map(): Argument #2 ($array1) must be of type array, null given
array_map(): Argument #2 ($array1) must be of type array, null given
-preg_replace_callback(): Argument #3 ($subject) must be of type string|array, stdClass given
+preg_replace_callback(): Argument #3 ($subject) must be of type array|string, stdClass given
===DONE===
}
?>
--EXPECT--
-preg_replace(): Argument #2 ($replace) must be of type string|array, Closure given
+preg_replace(): Argument #2 ($replace) must be of type array|string, Closure given
-- Iteration 23 --
string(16) "element1element2"
-- Iteration 24 --
-join(): Argument #1 ($glue) must be of type string|array, resource given
+join(): Argument #1 ($glue) must be of type array|string, resource given
-- Iteration 25 --
string(16) "element1element2"
-- Iteration 26 --
-- Iteration 16 --
string(6) "012ttm"
-- Iteration 17 --
-strtr(): Argument #2 ($from) must be of type string|array, resource given
+strtr(): Argument #2 ($from) must be of type array|string, resource given
-- Iteration 18 --
string(6) "012atm"
-- Iteration 19 --
strtr(): Argument #2 ($from) must be of type array, string given
-- Iteration 17 --
-strtr(): Argument #2 ($from) must be of type string|array, resource given
+strtr(): Argument #2 ($from) must be of type array|string, resource given
-- Iteration 18 --
strtr(): Argument #2 ($from) must be of type array, string given