/php-src/Zend/tests/ |
H A D | list_keyed_evaluation_order_3.phpt | 16 var_dump($i); // should be 5 17 var_dump($a[2]); // should be 'foo' 18 var_dump($a[4]); // should be 'bar'
|
H A D | dim_assign_001.phpt | 9 * We'll do it in a loop, so that if JIT is enabled, the code will be JIT'd 12 * Also, the test will do this in a way which guarantees PHP won't be able to 13 * predict whether the (string) key will be a numeric string or not */ 19 $array[$char] = "Values can be stored correctly using numeric string keys"; 24 string(56) "Values can be stored correctly using numeric string keys"
|
H A D | bug79979.phpt | 16 Warning: str_replace(): Argument #4 ($count) must be passed by reference, value given in %s on line… 18 Warning: str_replace(): Argument #4 ($count) must be passed by reference, value given in %s on line… 20 Warning: str_replace(): Argument #4 ($count) must be passed by reference, value given in %s on line… 22 Warning: str_replace(): Argument #4 ($count) must be passed by reference, value given in %s on line…
|
H A D | call_user_func_001.phpt | 13 print "Shouldn't be called!\n"; 18 print "Shouldn't be called!\n"; 40 call_user_func(): Argument #1 ($callback) must be a valid callback, cannot access private method te… 41 call_user_func(): Argument #1 ($callback) must be a valid callback, cannot access protected method …
|
H A D | iterable_or_null.phpt | 43 zend_iterable(): Argument #1 ($arg1) must be of type Traversable|array, string given 44 zend_iterable(): Argument #1 ($arg1) must be of type Traversable|array, int given 45 zend_iterable(): Argument #1 ($arg1) must be of type Traversable|array, null given 46 zend_iterable(): Argument #2 ($arg2) must be of type Traversable|array|null, string given
|
/php-src/ext/date/tests/ |
H A D | bug33415-2.phpt | 15 print "TZ=Asia/Thimbu - Is it OK for this to be 0:30 AM? yes\n"; 41 print "TZ=Asia/Kashgar - Is it OK for this to be 3 AM? yes\n"; 202 TZ=Asia/Thimbu - Is it OK for this to be 0:30 AM? yes 219 TZ=Asia/Kashgar - Is it OK for this to be 3 AM? yes 247 TZ=America/Scoresbysund - Is it OK for this to be 2 AM? yes 252 TZ=Asia/Tehran - Is it OK for this to be 0:30 AM? yes 263 TZ=Africa/Monrovia - Is it OK for this to be 00:44:30 AM? yes 273 TZ=Pacific/Nauru - Is it OK for this to be 0:30? yes 284 TZ=America/Miquelon - Is it OK for this to be 1 AM ? yes 289 TZ=Pacific/Palau - Is it OK for this to be 9 AM? No DST or [all …]
|
/php-src/ext/fileinfo/tests/ |
H A D | mime_content_type_001.phpt | 44 mime_content_type(): Argument #1 ($filename) must be of type resource|string, int given 45 mime_content_type(): Argument #1 ($filename) must be of type resource|string, null given 46 mime_content_type(): Argument #1 ($filename) must be of type resource|string, stdClass given 47 mime_content_type(): Argument #1 ($filename) must be of type resource|string, array given 50 mime_content_type(): Argument #1 ($filename) cannot be empty
|
/php-src/ext/standard/tests/array/ |
H A D | bug39576.phpt | 36 Notice: Only variables should be passed by reference in %s on line %d 38 Warning: test(): Argument #3 ($columns) must be passed by reference, value given in %s on line %d 40 Warning: test(): Argument #3 ($columns) must be passed by reference, value given in %s on line %d 42 Warning: test(): Argument #3 ($columns) must be passed by reference, value given in %s on line %d 44 Warning: test(): Argument #3 ($columns) must be passed by reference, value given in %s on line %d
|
H A D | array_chunk_variation5.phpt | 45 array_chunk(): Argument #2 ($length) must be greater than 0 46 array_chunk(): Argument #2 ($length) must be greater than 0 47 array_chunk(): Argument #2 ($length) must be greater than 0 85 array_chunk(): Argument #2 ($length) must be greater than 0 86 array_chunk(): Argument #2 ($length) must be greater than 0 87 array_chunk(): Argument #2 ($length) must be greater than 0
|
/php-src/ext/sysvshm/tests/ |
H A D | 002.phpt | 60 shm_attach(): Argument #2 ($size) must be greater than 0 61 shm_attach(): Argument #2 ($size) must be greater than 0 62 shm_attach(): Argument #2 ($size) must be greater than 0 63 shm_attach(): Argument #2 ($size) must be greater than 0 64 shm_attach(): Argument #2 ($size) must be greater than 0
|
/php-src/ext/random/tests/03_randomizer/methods/ |
H A D | pickArrayKeys_error.phpt | 45 Random\Randomizer::pickArrayKeys(): Argument #1 ($array) must be of type array, string given 46 Random\Randomizer::pickArrayKeys(): Argument #1 ($array) cannot be empty 47 Random\Randomizer::pickArrayKeys(): Argument #2 ($num) must be between 1 and the number of elements… 48 Random\Randomizer::pickArrayKeys(): Argument #2 ($num) must be between 1 and the number of elements… 49 Random\Randomizer::pickArrayKeys(): Argument #2 ($num) must be between 1 and the number of elements…
|
/php-src/ext/ftp/tests/ |
H A D | ftp_set_option_errors.phpt | 32 Exception: ftp_set_option(): Argument #3 ($value) must be greater than 0 for the FTP_TIMEOUT_SEC op… 33 Exception: ftp_set_option(): Argument #3 ($value) must be of type int for the FTP_TIMEOUT_SEC optio… 34 Exception: ftp_set_option(): Argument #3 ($value) must be of type bool for the FTP_USEPASVADDRESS o… 35 Exception: ftp_set_option(): Argument #3 ($value) must be of type bool for the FTP_AUTOSEEK option,… 36 Exception: ftp_set_option(): Argument #2 ($option) must be one of FTP_TIMEOUT_SEC, FTP_AUTOSEEK, or…
|
/php-src/ext/opcache/tests/jit/ |
H A D | fe_reset_001.phpt | 18 Warning: foreach() argument must be of type array|object, null given in %sfe_reset_001.php on line 4 22 Warning: foreach() argument must be of type array|object, null given in %sfe_reset_001.php on line 4 26 Warning: foreach() argument must be of type array|object, null given in %sfe_reset_001.php on line 4 30 Warning: foreach() argument must be of type array|object, null given in %sfe_reset_001.php on line 4 34 Warning: foreach() argument must be of type array|object, null given in %sfe_reset_001.php on line 4
|
/php-src/ext/json/tests/ |
H A D | inf_nan_error.phpt | 32 string(34) "Inf and NaN cannot be JSON encoded" 35 string(34) "Inf and NaN cannot be JSON encoded" 40 string(34) "Inf and NaN cannot be JSON encoded" 43 string(34) "Inf and NaN cannot be JSON encoded"
|
/php-src/Zend/tests/generators/ |
H A D | gh11028_1.phpt | 29 Keys must be of type int|string during array unpacking 31 Keys must be of type int|string during array unpacking 33 Keys must be of type int|string during array unpacking 35 Keys must be of type int|string during array unpacking
|
/php-src/tests/classes/ |
H A D | abstract_not_declared.phpt | 2 ZE2 An abstract class must be declared abstract 10 echo "Done\n"; // shouldn't be displayed 13 Fatal error: Class fail contains 1 abstract method and must therefore be declared abstract or imple…
|
/php-src/ext/ffi/tests/ |
H A D | gh11934.phpt | 136 Warning: Object of class FFI\CData could not be converted to int in %s on line %d 138 Warning: Object of class FFI\CData could not be converted to int in %s on line %d 140 Warning: Object of class FFI\CData could not be converted to int in %s on line %d 142 Warning: Object of class FFI\CData could not be converted to int in %s on line %d 144 Warning: Object of class FFI\CData could not be converted to int in %s on line %d 146 Warning: Object of class FFI\CData could not be converted to int in %s on line %d 148 Warning: Object of class FFI\CData could not be converted to int in %s on line %d 150 Warning: Object of class FFI\CData could not be converted to int in %s on line %d 152 Warning: Object of class FFI\CData could not be converted to int in %s on line %d 154 Warning: Object of class FFI\CData could not be converted to int in %s on line %d [all …]
|
/php-src/ext/gd/tests/ |
H A D | imagecolorallocate_variation5.phpt | 61 !! [ValueError] imagecolorallocate(): Argument #2 ($red) must be between 0 and 255 (inclusive) 62 !! [ValueError] imagecolorallocate(): Argument #3 ($green) must be between 0 and 255 (inclusive) 63 !! [ValueError] imagecolorallocate(): Argument #4 ($blue) must be between 0 and 255 (inclusive) 81 !! [ValueError] imagecolorallocate(): Argument #2 ($red) must be between 0 and 255 (inclusive) 82 !! [ValueError] imagecolorallocate(): Argument #3 ($green) must be between 0 and 255 (inclusive) 83 !! [ValueError] imagecolorallocate(): Argument #4 ($blue) must be between 0 and 255 (inclusive)
|
/php-src/ext/standard/tests/file/ |
H A D | fgetcsv_error_conditions.phpt | 53 fgetcsv(): Argument #2 ($length) must be a greater than or equal to 0 54 fgetcsv(): Argument #2 ($length) must be a greater than or equal to 0 55 fgetcsv(): Argument #2 ($length) must be a greater than or equal to 0 57 fgetcsv(): Argument #3 ($separator) must be a single character 59 fgetcsv(): Argument #4 ($enclosure) must be a single character 61 fgetcsv(): Argument #3 ($separator) must be a single character
|
/php-src/Zend/tests/type_declarations/iterable/ |
H A D | or_null.phpt | 2 Test "or null"/"or be null" in type-checking errors for userland functions with iterable 6 …zend_verify_missing_return_type` functions which produces an "or null"/"or be null" part in its er… 35 TypeError: iterableF(): Argument #1 ($param) must be of type Traversable|array|null, int given, cal… 39 TypeError: returnIterable(): Return value must be of type Traversable|array|null, int returned in %… 43 TypeError: returnMissingIterable(): Return value must be of type Traversable|array|null, none retur…
|
/php-src/ext/standard/tests/math/ |
H A D | decbin_variation1.phpt | 64 decbin(): Argument #1 ($num) must be of type int, float given 67 decbin(): Argument #1 ($num) must be of type int, float given 70 decbin(): Argument #1 ($num) must be of type int, float given 85 decbin(): Argument #1 ($num) must be of type int, string given 88 decbin(): Argument #1 ($num) must be of type int, string given
|
H A D | dechex_variation1.phpt | 64 dechex(): Argument #1 ($num) must be of type int, float given 67 dechex(): Argument #1 ($num) must be of type int, float given 70 dechex(): Argument #1 ($num) must be of type int, float given 85 dechex(): Argument #1 ($num) must be of type int, string given 88 dechex(): Argument #1 ($num) must be of type int, string given
|
H A D | decoct_variation1.phpt | 64 decoct(): Argument #1 ($num) must be of type int, float given 67 decoct(): Argument #1 ($num) must be of type int, float given 70 decoct(): Argument #1 ($num) must be of type int, float given 85 decoct(): Argument #1 ($num) must be of type int, string given 88 decoct(): Argument #1 ($num) must be of type int, string given
|
/php-src/ext/pcntl/tests/ |
H A D | pcntl_sigwaitinfo_errors.phpt | 54 ValueError: pcntl_sigwaitinfo(): Argument #1 ($signals) cannot be empty 55 ValueError: pcntl_sigwaitinfo(): Argument #1 ($signals) signals must be between 1 and %d 56 ValueError: pcntl_sigwaitinfo(): Argument #1 ($signals) signals must be between 1 and %d 57 TypeError: pcntl_sigwaitinfo(): Argument #1 ($signals) signals must be of type int, string given 58 ValueError: pcntl_sigwaitinfo(): Argument #1 ($signals) signals must be between 1 and %d
|
/php-src/ext/standard/tests/general_functions/ |
H A D | bug41970.phpt | 24 Warning: sort(): Argument #1 ($array) must be passed by reference, value given in %s on line %d 26 strlen(): Argument #1 ($string) must be of type string, array given 28 Warning: sort(): Argument #1 ($array) must be passed by reference, value given in %s on line %d 30 strlen(): Argument #1 ($string) must be of type string, array given
|