/php-src/ext/spl/tests/ |
H A D | heap_009.phpt | 2 SPL: SplHeap and friends, throw: An iterator cannot be used with foreach by reference 49 An iterator cannot be used with foreach by reference 50 An iterator cannot be used with foreach by reference 51 An iterator cannot be used with foreach by reference 52 An iterator cannot be used with foreach by reference 53 An iterator cannot be used with foreach by reference 54 An iterator cannot be used with foreach by reference
|
H A D | spl_autoload_007.phpt | 55 spl_autoload_register(): Argument #1 ($callback) must be a valid callback or null, class MyAutoLoad… 58 spl_autoload_register(): Argument #1 ($callback) must be a valid callback or null, cannot access pr… 64 …ter(): Argument #1 ($callback) must be a valid callback or null, non-static method MyAutoLoader::d… 72 spl_autoload_register(): Argument #1 ($callback) must be a valid callback or null, class MyAutoLoad… 80 spl_autoload_register(): Argument #1 ($callback) must be a valid callback or null, cannot access pr… 96 …ter(): Argument #1 ($callback) must be a valid callback or null, non-static method MyAutoLoader::d… 105 spl_autoload_register(): Argument #1 ($callback) must be a valid callback or null, class MyAutoLoad… 114 spl_autoload_register(): Argument #1 ($callback) must be a valid callback or null, cannot access pr…
|
/php-src/Zend/tests/ |
H A D | call_user_func_008.phpt | 28 Warning: test(): Argument #1 ($ref1) must be passed by reference, value given in %s on line %d 30 Warning: test(): Argument #2 ($ref2) must be passed by reference, value given in %s on line %d 35 Warning: test(): Argument #1 ($ref1) must be passed by reference, value given in %s on line %d 37 Warning: test(): Argument #2 ($ref2) must be passed by reference, value given in %s on line %d 42 Warning: test(): Argument #1 ($ref1) must be passed by reference, value given in %s on line %d 44 Warning: test(): Argument #2 ($ref2) must be passed by reference, value given in %s on line %d 49 Warning: test(): Argument #1 ($ref1) must be passed by reference, value given in %s on line %d 51 Warning: test(): Argument #2 ($ref2) must be passed by reference, value given in %s on line %d
|
H A D | 002.phpt | 99 func_get_arg(): Argument #1 ($position) must be greater than or equal to 0 100 func_get_arg(): Argument #1 ($position) must be less than the number of the arguments passed to the… 101 func_get_arg(): Argument #1 ($position) must be less than the number of the arguments passed to the… 102 func_get_arg(): Argument #1 ($position) must be greater than or equal to 0 104 func_get_arg(): Argument #1 ($position) must be less than the number of the arguments passed to the… 106 func_get_arg(): Argument #1 ($position) must be less than the number of the arguments passed to the… 110 func_get_arg(): Argument #1 ($position) must be less than the number of the arguments passed to the… 111 func_get_arg(): Argument #1 ($position) must be greater than or equal to 0 112 func_get_arg(): Argument #1 ($position) must be less than the number of the arguments passed to the… 113 func_get_arg(): Argument #1 ($position) must be less than the number of the arguments passed to the… [all …]
|
H A D | bug67856.phpt | 11 Warning: {closure:%s:%d}(): Argument #1 ($a) must be passed by reference, value given in %s on line… 13 Warning: {closure:%s:%d}(): Argument #2 ($b) must be passed by reference, value given in %s on line… 15 Warning: {closure:%s:%d}(): Argument #1 ($a) must be passed by reference, value given in %s on line… 17 Warning: {closure:%s:%d}(): Argument #2 ($b) must be passed by reference, value given in %s on line… 19 Warning: {closure:%s:%d}(): Argument #1 ($a) must be passed by reference, value given in %s on line… 21 Warning: {closure:%s:%d}(): Argument #2 ($b) must be passed by reference, value given in %s on line…
|
/php-src/ext/gd/tests/ |
H A D | bug67248.phpt | 20 !! [TypeError] imageaffinematrixget(): Argument #1 ($type) must be of type array when using transla… 21 !! [TypeError] imageaffinematrixget(): Argument #1 ($type) must be of type array when using transla… 23 Warning: Object of class stdClass could not be converted to float in %s on line %d 39 Warning: Object of class stdClass could not be converted to float in %s on line %d 55 Warning: Object of class stdClass could not be converted to float in %s on line %d 70 !! [ValueError] imageaffinematrixget(): Argument #1 ($type) must be a valid element type 71 !! [ValueError] imageaffinematrixget(): Argument #1 ($type) must be a valid element type
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionParameter_canBePassedByValue.phpt | 13 echo "Can be passed by value: ", $parameter->canBePassedByValue()?"yes":"no", "\n"; 42 Can be passed by value: yes 46 Can be passed by value: yes 52 Can be passed by value: no 56 Can be passed by value: yes 62 Can be passed by value: no 66 Can be passed by value: yes
|
/php-src/ext/standard/tests/array/ |
H A D | count_invalid.phpt | 2 Only arrays and countable objects can be counted 50 count(): Argument #1 ($value) must be of type Countable|array, null given 51 count(): Argument #1 ($value) must be of type Countable|array, string given 52 count(): Argument #1 ($value) must be of type Countable|array, int given 53 count(): Argument #1 ($value) must be of type Countable|array, true given 54 count(): Argument #1 ($value) must be of type Countable|array, false given 55 count(): Argument #1 ($value) must be of type Countable|array, stdClass given
|
H A D | array_column_scalar_index_weak_types.phpt | 5 echo "\n-- Testing array_column() column key parameter should be a string or an integer (testing bo… 17 echo "\n-- Testing array_column() column key parameter should be a string or integer (testing array… 24 echo "\n-- Testing array_column() index key parameter should be a string or an integer (testing boo… 36 echo "\n-- Testing array_column() index key parameter should be a string or integer (testing array)… 47 -- Testing array_column() column key parameter should be a string or an integer (testing bool) -- 61 -- Testing array_column() column key parameter should be a string or integer (testing array) -- 62 array_column(): Argument #2 ($column_key) must be of type string|int|null, array given 64 -- Testing array_column() index key parameter should be a string or an integer (testing bool) -- 78 -- Testing array_column() index key parameter should be a string or integer (testing array) -- 79 array_column(): Argument #3 ($index_key) must be of type string|int|null, array given
|
/php-src/Zend/tests/typehints/ |
H A D | or_null.phpt | 2 Test "or null"/"or be null" in type-checking errors for userland functions 211 TypeError: loadedClass(): Argument #1 ($param) must be of type ?RealClass, int given, called in %s:… 219 TypeError: callableF(): Argument #1 ($param) must be of type ?callable, int given, called in %s:%d 223 TypeError: intF(): Argument #1 ($param) must be of type ?int, stdClass given, called in %s:%d 231 TypeError: returnLoadedClass(): Return value must be of type ?RealClass, stdClass returned in %s:%d 243 TypeError: returnLoadedClassScalar(): Return value must be of type ?RealClass, int returned in %s:%d 251 TypeError: returnCallable(): Return value must be of type ?callable, int returned in %s:%d 255 TypeError: returnInt(): Return value must be of type ?int, stdClass returned in %s:%d 263 TypeError: returnMissingLoadedClass(): Return value must be of type ?RealClass, none returned in %s… 271 TypeError: returnMissingCallable(): Return value must be of type ?callable, none returned in %s:%d [all …]
|
/php-src/ext/standard/tests/strings/ |
H A D | bug40754.phpt | 83 substr_count(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 84 substr_compare(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 85 stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 86 substr_count(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 87 substr_count(): Argument #4 ($length) must be contained in argument #1 ($haystack) 88 strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 89 stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 90 strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 91 strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 92 strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
|
H A D | strtok_variation5.phpt | 69 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d 72 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d 75 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d 78 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d 81 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d 127 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d 130 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d 133 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d 136 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d 139 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d [all …]
|
/php-src/Zend/tests/type_declarations/ |
H A D | scalar_basic.phpt | 79 *** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, string given, called in %s on l… 82 *** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, string given, called in %s on l… 85 *** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, string given, called in %s on l… 91 *** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, float given, called in %s on li… 100 *** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, null given, called in %s on lin… 104 *** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, array given, called in %s on li… 108 *** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, stdClass given, called in %s on… 115 *** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, resource given, called in %s on… 153 *** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, null given, called in %s on l… 157 *** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, array given, called in %s on … [all …]
|
H A D | scalar_return_basic_64bit.phpt | 77 *** Caught {closure:%s:%d}(): Return value must be of type int, string returned in %s on line %d 79 *** Caught {closure:%s:%d}(): Return value must be of type int, string returned in %s on line %d 81 *** Caught {closure:%s:%d}(): Return value must be of type int, string returned in %s on line %d 85 *** Caught {closure:%s:%d}(): Return value must be of type int, float returned in %s on line %d 91 *** Caught {closure:%s:%d}(): Return value must be of type int, null returned in %s on line %d 94 *** Caught {closure:%s:%d}(): Return value must be of type int, array returned in %s on line %d 97 *** Caught {closure:%s:%d}(): Return value must be of type int, stdClass returned in %s on line %d 102 *** Caught {closure:%s:%d}(): Return value must be of type int, resource returned in %s on line %d 128 *** Caught {closure:%s:%d}(): Return value must be of type float, null returned in %s on line %d 131 *** Caught {closure:%s:%d}(): Return value must be of type float, array returned in %s on line %d [all …]
|
H A D | scalar_return_basic.phpt | 77 *** Caught {closure:%s:%d}(): Return value must be of type int, string returned in %s on line %d 79 *** Caught {closure:%s:%d}(): Return value must be of type int, string returned in %s on line %d 81 *** Caught {closure:%s:%d}(): Return value must be of type int, string returned in %s on line %d 85 *** Caught {closure:%s:%d}(): Return value must be of type int, float returned in %s on line %d 91 *** Caught {closure:%s:%d}(): Return value must be of type int, null returned in %s on line %d 94 *** Caught {closure:%s:%d}(): Return value must be of type int, array returned in %s on line %d 97 *** Caught {closure:%s:%d}(): Return value must be of type int, stdClass returned in %s on line %d 102 *** Caught {closure:%s:%d}(): Return value must be of type int, resource returned in %s on line %d 128 *** Caught {closure:%s:%d}(): Return value must be of type float, null returned in %s on line %d 131 *** Caught {closure:%s:%d}(): Return value must be of type float, array returned in %s on line %d [all …]
|
/php-src/ext/mbstring/tests/ |
H A D | mb_regex_encoding_variation2.phpt | 100 mb_regex_encoding(): Argument #1 ($encoding) must be a valid encoding, "UCS-4BE" given 110 mb_regex_encoding(): Argument #1 ($encoding) must be a valid encoding, "UCS-2" given 115 mb_regex_encoding(): Argument #1 ($encoding) must be a valid encoding, "UCS-2BE" given 120 mb_regex_encoding(): Argument #1 ($encoding) must be a valid encoding, "UCS-2LE" given 155 mb_regex_encoding(): Argument #1 ($encoding) must be a valid encoding, "UTF-7" given 200 mb_regex_encoding(): Argument #1 ($encoding) must be a valid encoding, "JIS" given 300 mb_regex_encoding(): Argument #1 ($encoding) must be a valid encoding, "7bit" given 305 mb_regex_encoding(): Argument #1 ($encoding) must be a valid encoding, "8bit" given 315 mb_regex_encoding(): Argument #1 ($encoding) must be a valid encoding, "CP936" given 320 mb_regex_encoding(): Argument #1 ($encoding) must be a valid encoding, "HZ" given [all …]
|
H A D | mb_strpos_variation5.phpt | 50 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 52 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 86 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 88 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 92 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 94 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 98 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 100 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 104 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 106 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
|
/php-src/ext/standard/tests/file/ |
H A D | flock_error.phpt | 58 flock(): Argument #2 ($operation) must be one of LOCK_SH, LOCK_EX, or LOCK_UN 60 flock(): Argument #2 ($operation) must be one of LOCK_SH, LOCK_EX, or LOCK_UN 62 flock(): Argument #2 ($operation) must be one of LOCK_SH, LOCK_EX, or LOCK_UN 64 flock(): Argument #2 ($operation) must be of type int, array given 66 flock(): Argument #2 ($operation) must be of type int, array given 68 flock(): Argument #2 ($operation) must be of type int, string given 70 flock(): Argument #2 ($operation) must be of type int, string given 72 flock(): Argument #2 ($operation) must be of type int, string given
|
/php-src/ext/xsl/tests/ |
H A D | XSLTProcessor_callables_errors.phpt | 61 XSLTProcessor::registerPHPFunctions(): Argument #1 ($functions) must be a callable, function "nonex… 62 XSLTProcessor::registerPHPFunctions(): Argument #1 ($functions) must be of type array|string|null, … 63 Object of class Closure could not be converted to string 64 Object of class Closure could not be converted to string 65 XSLTProcessor::registerPHPFunctions(): Argument #1 ($functions) must be an array with valid callbac… 66 XSLTProcessor::registerPHPFunctions(): Argument #1 ($functions) must be an array containing valid c… 67 XSLTProcessor::registerPHPFunctions(): Argument #1 ($functions) must be an array containing valid c… 68 XSLTProcessor::registerPHPFunctions(): Argument #1 ($functions) must be a valid callback name
|
/php-src/ext/intl/tests/ |
H A D | gregoriancalendar_set_date_time_error.phpt | 47 IntlGregorianCalendar::createFromDateTime(): Argument #1 ($year) must be between -2147483648 and 21… 48 IntlGregorianCalendar::createFromDateTime(): Argument #2 ($month) must be between -2147483648 and 2… 49 IntlGregorianCalendar::createFromDateTime(): Argument #3 ($dayOfMonth) must be between -2147483648 … 50 IntlGregorianCalendar::createFromDateTime(): Argument #4 ($hour) must be between -2147483648 and 21… 51 IntlGregorianCalendar::createFromDateTime(): Argument #5 ($minute) must be between -2147483648 and … 52 IntlGregorianCalendar::createFromDateTime(): Argument #6 ($second) must be between -2147483648 and …
|
/php-src/ |
H A D | CODING_STANDARDS.md | 14 counterparts) must be available. 35 such and declared `static`. They should be avoided if possible. 43 holds the length property of each string, and that it shouldn't be 81 1. The return type of "is" or "has" style functions should be `bool`, 105 // Could be 'date_intvl_create_from_date_str'? 107 // Could be 'html_get_trans_table'? 145 1. Variable names must be meaningful. One letter variable names must be avoided, 215 1. Functions that are part of the external API should be named 224 Unexposed module function should be static and should not be defined in 231 1. Main module source file must be named `modulename.c`. [all …]
|
/php-src/ext/iconv/tests/ |
H A D | iconv_strpos_variation5.phpt | 52 iconv_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 54 iconv_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 88 iconv_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 90 iconv_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 94 iconv_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 96 iconv_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 100 iconv_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 102 iconv_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 106 iconv_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 108 iconv_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
|
/php-src/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_attr_server_version.phpt | 19 printf("[001] Server version must not be empty\n"); 21 // Ideally the server version would be an integer - as documented but BC break! 22 // If its a version string it should be of the format \d+\.\d+\.\d+.* 30 // A possible better check would be calling mysqli_get_server_version() and 35 printf("[003] Strange major version: '%s'. Should be more than 3\n", $matches[1]); 37 printf("[004] Minor version should be at least 0, got '%s'\n", $matches[2]); 39 printf("[005] Sub version should be at least 0, got '%s'\n", $matches[2]); 47 printf("[006] Strange major version: '%s'. Should be more than 3\n", $major); 49 printf("[007] Minor version should be at least 0, got '%s'\n", $minor); 51 printf("[008] Sub version should be at least 0, got '%s'\n", $sub);
|
/php-src/ext/zlib/tests/ |
H A D | gzeof_basic.phpt | 7 // note that gzeof is an alias to gzeof. parameter checking tests will be 21 echo "reading 50 characters. eof should be false\n"; 24 echo "reading 250 characters. eof should be true\n"; 27 echo "reading 20 characters. eof should be true still\n"; 47 reading 50 characters. eof should be false 49 reading 250 characters. eof should be true 51 reading 20 characters. eof should be true still
|
/php-src/tests/lang/ |
H A D | bug30578.phpt | 13 echo "This should be displayed last.\n"; 21 echo "This should be displayed first.\n"; 30 This should be displayed first. 31 Buffered data: This should be displayed last.
|