/php-src/ext/mbstring/tests/ |
H A D | bug43841.phpt | 8 * Test that mb_strrpos offset is byte count for negative values (should be character count) 42 mb_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 45 mb_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 47 strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 51 mb_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 54 mb_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 56 strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
|
H A D | bug43840.phpt | 9 * The multibyte string should be returning the same results as the ASCII string. 49 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 51 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 55 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 57 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 61 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 63 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
|
/php-src/ext/standard/tests/file/ |
H A D | ftruncate_variation4.phpt | 75 ftruncate(): Argument #2 ($size) must be greater than or equal to 0 83 ftruncate(): Argument #2 ($size) must be greater than or equal to 0 91 ftruncate(): Argument #2 ($size) must be greater than or equal to 0 99 ftruncate(): Argument #2 ($size) must be greater than or equal to 0 107 ftruncate(): Argument #2 ($size) must be greater than or equal to 0 115 ftruncate(): Argument #2 ($size) must be greater than or equal to 0 123 ftruncate(): Argument #2 ($size) must be greater than or equal to 0 131 ftruncate(): Argument #2 ($size) must be greater than or equal to 0 139 ftruncate(): Argument #2 ($size) must be greater than or equal to 0 147 ftruncate(): Argument #2 ($size) must be greater than or equal to 0 [all …]
|
/php-src/ext/intl/tests/ |
H A D | formatter_format_and_parse_errors.phpt | 58 numfmt_format(): Argument #3 ($type) must be a NumberFormatter::TYPE_* constant 59 NumberFormatter::format(): Argument #2 ($type) must be a NumberFormatter::TYPE_* constant 60 numfmt_parse(): Argument #3 ($type) must be a NumberFormatter::TYPE_* constant 61 NumberFormatter::parse(): Argument #2 ($type) must be a NumberFormatter::TYPE_* constant 64 numfmt_format(): Argument #3 ($type) cannot be NumberFormatter::TYPE_CURRENCY constant, use numfmt_… 67 NumberFormatter::format(): Argument #2 ($type) cannot be NumberFormatter::TYPE_CURRENCY constant, u… 70 numfmt_parse(): Argument #3 ($type) cannot be NumberFormatter::TYPE_CURRENCY constant, use numfmt_p… 73 NumberFormatter::parse(): Argument #2 ($type) cannot be NumberFormatter::TYPE_CURRENCY constant, us…
|
/php-src/ext/phar/tests/ |
H A D | badparameters.phpt | 233 Phar::loadPhar(): Argument #1 ($filename) must be of type string, array given 237 Phar::convertToData(): Argument #1 ($format) must be of type ?int, array given 240 Entry oops does not exist and cannot be deleted 243 A Phar alias cannot be set in a plain tar archive 244 Phar::setAlias(): Argument #1 ($alias) must be of type string, array given 246 A Phar stub cannot be set in a plain tar archive 247 Phar::setStub(): Argument #1 ($stub) must be of type string, array given 248 A Phar stub cannot be set in a plain tar archive 252 Phar::compress(): Argument #1 ($compression) must be of type int, array given 259 Phar::offsetGet(): Argument #1 ($localName) must be of type string, array given [all …]
|
/php-src/Zend/tests/type_declarations/literal_types/ |
H A D | true_no_coercion.phpt | 2 No coercion should be applied to type true 31 test(): Argument #1 ($v) must be of type true, int given, called in %s on line %d 32 test(): Argument #1 ($v) must be of type true, string given, called in %s on line %d 33 test(): Argument #1 ($v) must be of type true, array given, called in %s on line %d 34 test(): Argument #1 ($v) must be of type true, stdClass given, called in %s on line %d
|
H A D | false_no_coercion.phpt | 2 No coercion should be applied to type false 26 test(): Argument #1 ($v) must be of type false, int given, called in %s on line %d 27 test(): Argument #1 ($v) must be of type false, string given, called in %s on line %d 28 test(): Argument #1 ($v) must be of type false, array given, called in %s on line %d
|
/php-src/ext/pgsql/tests/ |
H A D | 03sync_query.phpt | 149 Argument #3 must be greater than or equal to 0 150 Argument #3 must be less than the number of fields for this result set 151 Argument #3 must be a field name from this result set 152 pg_fetch_all_columns(): Argument #2 ($field) must be greater than or equal to 0 154 Argument #3 must be greater than or equal to 0 155 Argument #3 must be less than the number of fields for this result set 156 Argument #3 must be a field name from this result set 157 pg_field_name(): Argument #2 ($field) must be greater than or equal to 0 158 pg_field_name(): Argument #2 ($field) must be less than the number of fields for this result set 159 pg_field_table(): Argument #2 ($field) must be greater than or equal to 0 [all …]
|
/php-src/ext/standard/tests/array/ |
H A D | array_rand.phpt | 41 array_rand(): Argument #1 ($array) cannot be empty 42 array_rand(): Argument #1 ($array) cannot be empty 43 array_rand(): Argument #2 ($num) must be between 1 and the number of elements in argument #1 ($arra… 44 array_rand(): Argument #2 ($num) must be between 1 and the number of elements in argument #1 ($arra… 45 array_rand(): Argument #2 ($num) must be between 1 and the number of elements in argument #1 ($arra…
|
H A D | uasort_variation7.phpt | 55 Warning: {closure:%s:%d}(): Argument #1 ($value1) must be passed by reference, value given in %s on… 57 Warning: {closure:%s:%d}(): Argument #2 ($value2) must be passed by reference, value given in %s on… 59 Warning: {closure:%s:%d}(): Argument #1 ($value1) must be passed by reference, value given in %s on… 61 Warning: {closure:%s:%d}(): Argument #2 ($value2) must be passed by reference, value given in %s on… 63 Warning: {closure:%s:%d}(): Argument #1 ($value1) must be passed by reference, value given in %s on… 65 Warning: {closure:%s:%d}(): Argument #2 ($value2) must be passed by reference, value given in %s on… 67 Warning: {closure:%s:%d}(): Argument #1 ($value1) must be passed by reference, value given in %s on… 69 Warning: {closure:%s:%d}(): Argument #2 ($value2) must be passed by reference, value given in %s on…
|
H A D | usort_variation7.phpt | 55 Warning: {closure:%s:%d}(): Argument #1 ($value1) must be passed by reference, value given in %s on… 57 Warning: {closure:%s:%d}(): Argument #2 ($value2) must be passed by reference, value given in %s on… 59 Warning: {closure:%s:%d}(): Argument #1 ($value1) must be passed by reference, value given in %s on… 61 Warning: {closure:%s:%d}(): Argument #2 ($value2) must be passed by reference, value given in %s on… 63 Warning: {closure:%s:%d}(): Argument #1 ($value1) must be passed by reference, value given in %s on… 65 Warning: {closure:%s:%d}(): Argument #2 ($value2) must be passed by reference, value given in %s on… 67 Warning: {closure:%s:%d}(): Argument #1 ($value1) must be passed by reference, value given in %s on… 69 Warning: {closure:%s:%d}(): Argument #2 ($value2) must be passed by reference, value given in %s on…
|
/php-src/ext/standard/tests/math/ |
H A D | abs_variation.phpt | 31 // unexpected values to be passed to $number argument 107 abs(): Argument #1 ($num) must be of type int|float, string given 110 abs(): Argument #1 ($num) must be of type int|float, string given 113 abs(): Argument #1 ($num) must be of type int|float, array given 116 abs(): Argument #1 ($num) must be of type int|float, string given 119 abs(): Argument #1 ($num) must be of type int|float, string given 122 abs(): Argument #1 ($num) must be of type int|float, string given 125 abs(): Argument #1 ($num) must be of type int|float, classA given 138 abs(): Argument #1 ($num) must be of type int|float, resource given
|
H A D | ceil_variation1.phpt | 26 // unexpected values to be passed to $value argument 100 ceil(): Argument #1 ($num) must be of type int|float, string given 103 ceil(): Argument #1 ($num) must be of type int|float, string given 106 ceil(): Argument #1 ($num) must be of type int|float, array given 109 ceil(): Argument #1 ($num) must be of type int|float, string given 112 ceil(): Argument #1 ($num) must be of type int|float, string given 115 ceil(): Argument #1 ($num) must be of type int|float, string given 118 ceil(): Argument #1 ($num) must be of type int|float, classA given 131 ceil(): Argument #1 ($num) must be of type int|float, resource given
|
H A D | floor_variation1.phpt | 26 // unexpected values to be passed to $value argument 100 floor(): Argument #1 ($num) must be of type int|float, string given 103 floor(): Argument #1 ($num) must be of type int|float, string given 106 floor(): Argument #1 ($num) must be of type int|float, array given 109 floor(): Argument #1 ($num) must be of type int|float, string given 112 floor(): Argument #1 ($num) must be of type int|float, string given 115 floor(): Argument #1 ($num) must be of type int|float, string given 118 floor(): Argument #1 ($num) must be of type int|float, classA given 131 floor(): Argument #1 ($num) must be of type int|float, resource given
|
/php-src/ext/standard/tests/strings/ |
H A D | addslashes_variation2.phpt | 2 Test addslashes() function : usage variations - strings with characters to be backslashed 6 * Test addslashes() with various strings containing characters that can be backslashed 9 echo "*** Testing addslashes() : with various strings containing characters to be backslashed ***\n… 23 // string without any characters that can be backslashed 35 'he said, "he will be on leave"', 36 'he said, ""he will be on leave"', 85 *** Testing addslashes() : with various strings containing characters to be backslashed *** 109 string(32) "he said, \"he will be on leave\"" 112 string(34) "he said, \"\"he will be on leave\""
|
H A D | strtok_variation4.phpt | 45 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d 48 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d 51 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d 54 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d 57 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d 96 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d 99 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d 102 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d 105 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d
|
/php-src/Zend/tests/nullsafe_operator/ |
H A D | 016.phpt | 32 set(): Argument #1 ($ref) could not be passed by reference 33 set(): Argument #1 ($ref) could not be passed by reference 34 set(): Argument #1 ($ref) could not be passed by reference 35 set(): Argument #1 ($ref) could not be passed by reference
|
/php-src/Zend/tests/type_declarations/iterable/ |
H A D | iterable_002.phpt | 7 // Null should be allowed as a default value 11 // Array should be allowed as a default value 15 // No other values should be allowed as defaults 20 …meter $iterable as nullable is deprecated, the explicit nullable type must be used instead in %s o…
|
/php-src/ext/bz2/tests/ |
H A D | 001.phpt | 45 bzopen(): Argument #1 ($file) cannot be empty 46 bzopen(): Argument #1 ($file) cannot be empty 47 bzopen(): Argument #2 ($mode) must be either "r" or "w" 48 bzopen(): Argument #2 ($mode) must be either "r" or "w" 49 bzopen(): Argument #2 ($mode) must be either "r" or "w"
|
/php-src/tests/lang/ |
H A D | foreachLoop.003.phpt | 36 Warning: foreach() argument must be of type array|object, true given in %s on line %d 38 Warning: foreach() argument must be of type array|object, null given in %s on line 9 40 Warning: foreach() argument must be of type array|object, int given in %s on line 14 42 Warning: foreach() argument must be of type array|object, float given in %s on line 19 44 Warning: foreach() argument must be of type array|object, string given in %s on line 24
|
/php-src/ext/gmp/tests/ |
H A D | gmp_strict_types.phpt | 53 gmp_abs(): Argument #1 ($num) must be of type GMP|string|int, float given 54 gmp_abs(): Argument #1 ($num) must be of type GMP|string|int, false given 55 gmp_abs(): Argument #1 ($num) must be of type GMP|string|int, true given 56 gmp_abs(): Argument #1 ($num) must be of type GMP|string|int, null given 57 gmp_abs(): Argument #1 ($num) must be of type GMP|string|int, array given
|
/php-src/ext/pdo_mysql/tests/ |
H A D | pdo_mysql___construct_options.phpt | 95 printf("[004] Autocommit should be on\n"); 99 printf("[005] Autocommit should be off\n"); 103 printf("[006] ATTR_TIMEOUT should be accepted\n"); 106 printf("[007] ATTR_TIMEOUT should be accepted\n"); 109 printf("[008] ATTR_TIMEOUT should be accepted\n"); 134 printf("[015] PDO::ATTR_EMULATE_PREPARES should be on\n"); 140 printf("[017] PDO::ATTR_EMULATE_PREPARES should be off\n"); 175 [015] PDO::ATTR_EMULATE_PREPARES should be on 176 [016] PDO::MYSQL_ATTR_DIRECT_QUERY should be on 177 [017] PDO::ATTR_EMULATE_PREPARES should be off [all …]
|
/php-src/ext/pcntl/tests/ |
H A D | pcntl_sigprocmask_errors.phpt | 62 ValueError: pcntl_sigprocmask(): Argument #1 ($mode) must be one of SIG_BLOCK, SIG_UNBLOCK, or SIG_… 63 ValueError: pcntl_sigprocmask(): Argument #2 ($signals) cannot be empty 64 ValueError: pcntl_sigprocmask(): Argument #2 ($signals) signals must be between 1 and %d 65 ValueError: pcntl_sigprocmask(): Argument #2 ($signals) signals must be between 1 and %d 66 TypeError: pcntl_sigprocmask(): Argument #2 ($signals) signals must be of type int, string given 67 ValueError: pcntl_sigprocmask(): Argument #2 ($signals) signals must be between 1 and %d
|
/php-src/ext/json/tests/ |
H A D | pass003.phpt | 9 "The outermost value": "must be an object or array.", 42 "The outermost value": "must be an object or array.", 52 string(27) "must be an object or array." 62 string(27) "must be an object or array." 68 {"JSON Test Pattern pass3":{"The outermost value":"must be an object or array.","In this test":"It … 70 {"JSON Test Pattern pass3":{"The outermost value":"must be an object or array.","In this test":"It … 76 string(27) "must be an object or array." 86 string(27) "must be an object or array."
|
/php-src/Zend/tests/traits/ |
H A D | direct_static_member_access.phpt | 39 Deprecated: Accessing static trait property T::$foo is deprecated, it should only be accessed on a … 41 Deprecated: Accessing static trait property T::$foo is deprecated, it should only be accessed on a … 44 Deprecated: Calling static trait method T::foo is deprecated, it should only be called on a class u… 47 Deprecated: Calling static trait method T::bar is deprecated, it should only be called on a class u… 51 Deprecated: Accessing static trait property T::$foo is deprecated, it should only be accessed on a … 53 Deprecated: Accessing static trait property T::$foo is deprecated, it should only be accessed on a … 56 Deprecated: Calling static trait method T::foo is deprecated, it should only be called on a class u… 59 Deprecated: Calling static trait method T::bar is deprecated, it should only be called on a class u…
|