Home
last modified time | relevance | path

Searched refs:invalid (Results 1 – 25 of 679) sorted by relevance

12345678910>>...28

/PHP-8.2/ext/filter/tests/
H A Dfilter_null_on_failure.phpt7 var_dump(filter_var("invalid", FILTER_VALIDATE_BOOL, FILTER_NULL_ON_FAILURE));
8 var_dump(filter_var("invalid", FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE));
9 var_dump(filter_var("invalid", FILTER_VALIDATE_INT, FILTER_NULL_ON_FAILURE));
10 var_dump(filter_var("invalid", FILTER_VALIDATE_FLOAT, FILTER_NULL_ON_FAILURE));
11 var_dump(filter_var(".invalid", FILTER_VALIDATE_DOMAIN, FILTER_NULL_ON_FAILURE));
12 var_dump(filter_var("invalid", FILTER_VALIDATE_EMAIL, FILTER_NULL_ON_FAILURE));
13 var_dump(filter_var("invalid", FILTER_VALIDATE_IP, FILTER_NULL_ON_FAILURE));
14 var_dump(filter_var("invalid", FILTER_VALIDATE_MAC, FILTER_NULL_ON_FAILURE));
15 var_dump(filter_var("invalid", FILTER_VALIDATE_REGEXP, [
21 var_dump(filter_var("invalid", FILTER_VALIDATE_URL, FILTER_NULL_ON_FAILURE));
/PHP-8.2/ext/standard/tests/strings/
H A Dsetlocale_error.phpt7 if (setlocale(LC_ALL, 'invalid') === 'invalid') { die('skip setlocale() is broken /w musl'); }
16 echo "\n-- Testing setlocale() function with invalid locale array, 'category' = LC_ALL --\n";
18 $invalid_locales = array("en_US.invalid", "en_AU.invalid", "ko_KR.invalid");
21 echo "\n-- Testing setlocale() function with invalid multiple locales, 'category' = LC_ALL --\n";
23 var_dump( setlocale(LC_ALL,"en_US.invalid", "en_AU.invalid", "ko_KR.invalid") );
34 -- Testing setlocale() function with invalid locale array, 'category' = LC_ALL --
37 -- Testing setlocale() function with invalid multiple locales, 'category' = LC_ALL --
H A Dsetlocale_variation1.phpt2 Test setlocale() function : usage variations - passing multiple valid/invalid locales as argument
5 if (setlocale(LC_ALL, 'invalid') === 'invalid') { die('skip setlocale() is broken /w musl'); }
15 /* Test the setlocale() when multiple valid/invalid locales are provided as argument */
37 pass as argument to setlocale(), pass 2 invalid arguments along with two valid arguments*/
38 echo "*** Testing setlocale() by passing multiple valid/invalid locales as argument ***\n";
61 …giving 'category' as LC_ALL & multiple locales(en_US.invalid, en_US.utf8, Ko_KR.utf8, KO_KR.invali…
64 …$new_locale = setlocale(LC_ALL, "en_US.invalid", "en_US.utf8", "Ko_KR.utf8", "KO_KR.invalid", "zh_…
86 *** Testing setlocale() by passing multiple valid/invalid locales as argument ***
87 …giving 'category' as LC_ALL & multiple locales(en_US.invalid, en_US.utf8, Ko_KR.utf8, KO_KR.invali…
/PHP-8.2/ext/session/tests/
H A Dsession_set_save_handler_error.phpt99 …er(): Argument #1 ($open) must be a valid callback, function "0" not found or invalid function name
102 …er(): Argument #1 ($open) must be a valid callback, function "1" not found or invalid function name
126 …ler(): Argument #1 ($open) must be a valid callback, function "" not found or invalid function name
129 …ler(): Argument #1 ($open) must be a valid callback, function "" not found or invalid function name
132 …er(): Argument #1 ($open) must be a valid callback, function "1" not found or invalid function name
135 …ler(): Argument #1 ($open) must be a valid callback, function "" not found or invalid function name
138 …er(): Argument #1 ($open) must be a valid callback, function "1" not found or invalid function name
141 …ler(): Argument #1 ($open) must be a valid callback, function "" not found or invalid function name
144 …ler(): Argument #1 ($open) must be a valid callback, function "" not found or invalid function name
147 …ler(): Argument #1 ($open) must be a valid callback, function "" not found or invalid function name
[all …]
H A D016.phpt2 invalid session.save_path should not cause a segfault
6 session.save_path="123;:/really\\completely:::/invalid;;,23123;213"
21 Warning: session_start(): Failed to create session data file path. Too short session ID, invalid sa…
23 …): Failed to read session data: files (path: 123;:/really%scompletely:::/invalid;;,23123;213) in %…
/PHP-8.2/ext/phar/tests/zip/
H A Dbadalias.phpt2 Phar: invalid aliases
21 phar error: invalid alias "hi/there" in zip-based phar "%sbadalias1.phar.zip"
22 phar error: invalid alias "hi\there" in zip-based phar "%sbadalias2.phar.zip"
23 phar error: invalid alias "hi\there" in zip-based phar "%sbadalias3.phar.zip"
24 phar error: invalid alias "hi;there" in zip-based phar "%sbadalias4.phar.zip"
25 phar error: invalid alias "hi:there" in zip-based phar "%sbadalias5.phar.zip"
/PHP-8.2/ext/tokenizer/tests/
H A Dtoken_get_all_variation14.phpt2 Test token_get_all() function : usage variations - invalid token values
8 * Testing token_get_all() with 'source' string containing invalid/unknown token value
12 echo "*** Testing token_get_all() : with invalid/unknown tokens ***\n";
14 // with valid php tags and invalid tokens
24 // with invalid open tag for testing entire source to be unknown token
30 // with invalid PHP tags and invalid tokens
31 echo "-- with invalid PHP tags and tokens --\n";
38 *** Testing token_get_all() : with invalid/unknown tokens ***
256 -- with invalid PHP tags and tokens --
/PHP-8.2/Zend/tests/nullsafe_operator/
H A D034.phpt14 var_dump($arr['invalid']?->something);
17 var_dump($arr['bar']['invalid']?->something);
23 Warning: Undefined array key "invalid" in %s.php on line 11
27 Warning: Undefined array key "invalid" in %s.php on line 14
/PHP-8.2/ext/phar/tests/tar/
H A Dbadalias.phpt2 Phar: invalid aliases
19 phar error: invalid alias "hi/thereaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa..." in tar-based phar…
20 phar error: invalid alias "hi\there" in tar-based phar "%sbadalias2.phar.tar"
21 phar error: invalid alias "hi;there" in tar-based phar "%sbadalias3.phar.tar"
22 phar error: invalid alias "hi:there" in tar-based phar "%sbadalias4.phar.tar"
/PHP-8.2/ext/intl/tests/
H A Dbug53512.phpt22 string(65) "numfmt_set_symbol: invalid symbol value: U_ILLEGAL_ARGUMENT_ERROR"
24 string(65) "numfmt_set_symbol: invalid symbol value: U_ILLEGAL_ARGUMENT_ERROR"
26 string(65) "numfmt_set_symbol: invalid symbol value: U_ILLEGAL_ARGUMENT_ERROR"
28 string(65) "numfmt_set_symbol: invalid symbol value: U_ILLEGAL_ARGUMENT_ERROR"
/PHP-8.2/Zend/tests/type_declarations/
H A Dtyped_properties_076.phpt22 function invalid(Test $test, string $prop1, string $prop2, $value) {
51 invalid($test, 'int', 'float', 42.0);
53 invalid($test, 'int', 'nint', null);
55 invalid($test, 'nint', 'nstring', '42');
58 invalid($test, 'A', 'B', new A);
61 invalid($test, 'A', 'object', new Test);
63 invalid($test, 'Iterator', 'iterable', [1, 2, 3]);
65 invalid($test, 'iterable', 'object', new stdClass);
/PHP-8.2/ext/standard/tests/network/
H A Dfsockopen_error.phpt16 echo "\n-- Attempting to connect using an invalid protocol --\n";
17 $hostname = 'invalid://127.0.0.1'; // loopback address
36 -- Attempting to connect using an invalid protocol --
38 …rning: fsockopen(): Unable to connect to invalid://127.0.0.1:31337 (Unable to find the socket tran…
40 string(100) "Unable to find the socket transport "invalid" - did you forget to enable it when you c…
H A Dsetcookie_error.phpt16 setcookie('invalid=');
21 setcookie('name', 'invalid;');
26 setcookie('name', 'value', 100, 'invalid;');
31 setcookie('name', 'value', 100, 'path', 'invalid;');
62 string(27) "Set-Cookie: name=invalid%3B"
/PHP-8.2/ext/standard/tests/array/
H A Darray_map_variation16.phpt41 …#1 ($callback) must be a valid callback or null, function "echo" not found or invalid function name
43 …1 ($callback) must be a valid callback or null, function "array" not found or invalid function name
45 …1 ($callback) must be a valid callback or null, function "empty" not found or invalid function name
47 …#1 ($callback) must be a valid callback or null, function "eval" not found or invalid function name
49 …#1 ($callback) must be a valid callback or null, function "exit" not found or invalid function name
51 …1 ($callback) must be a valid callback or null, function "isset" not found or invalid function name
53 …#1 ($callback) must be a valid callback or null, function "list" not found or invalid function name
55 …1 ($callback) must be a valid callback or null, function "print" not found or invalid function name
/PHP-8.2/Zend/tests/constexpr/
H A Dnew_self_parent.phpt7 public static function invalid($x = new parent) {
16 function invalid($x = new self) {}
21 invalid();
27 B::invalid();
/PHP-8.2/ext/dom/tests/
H A Ddom_create_element.phpt17 print " 2 DOMDocument::createElement('-invalid')\n";
20 $dom->createElement('-invalid');
65 $dom->createElementNS('http://valid.com', '-invalid');
83 $dom->createElementNS('', 'prefix:invalid');
125 print "14 DOMElement::__construct('-invalid')\n";
127 $element = new DomElement('-invalid');
183 $element = new DomElement('prefix:invalid', '', '');
323 2 DOMDocument::createElement('-invalid')
337 9 DOMDocument::createElementNS('', 'prefix:invalid')
347 14 DOMElement::__construct('-invalid')
[all …]
/PHP-8.2/ext/standard/tests/file/
H A Dis_executable_variation3.phpt2 Test is_executable() function: usage variations - invalid file names
12 /* test is_executable() with invalid arguments */
19 echo "\n*** Testing is_executable() on invalid files ***\n";
40 *** Testing is_executable() on invalid files ***
H A Dis_writable_variation3.phpt2 Test is_writable() and its alias is_writeable() function: usage variations - invalid file names
11 /* test is_writable() & is_writeable() with invalid arguments */
15 echo "\n*** Testing is_writable() with invalid filenames ***\n";
35 *** Testing is_writable() with invalid filenames ***
/PHP-8.2/ext/date/tests/
H A Ddate_default_timezone_set_error.phpt7 echo "\n-- Testing date_default_timezone_set() function with invalid timezone identifier --\n";
14 -- Testing date_default_timezone_set() function with invalid timezone identifier --
16 Notice: date_default_timezone_set(): Timezone ID 'foo' is invalid in %s on line %d
/PHP-8.2/ext/fileinfo/tests/
H A Dbug61964-mb.phpt2 Bug #61964 (finfo_open with directory cause invalid free)
53 Warning: finfo_open(): offset `string' invalid in %sbug61964-mb.php on line %d
55 Warning: finfo_open(): offset ` Core' invalid in %sbug61964-mb.php on line %d
57 Warning: finfo_open(): offset ` Me' invalid in %sbug61964-mb.php on line %d
59 Warning: finfo_open(): offset `a' invalid in %sbug61964-mb.php on line %d
61 Warning: finfo_open(): offset `b' invalid in %sbug61964-mb.php on line %d
H A Dbug61964.phpt2 Bug #61964 (finfo_open with directory cause invalid free)
53 Warning: finfo_open(): offset `string' invalid in %sbug61964.php on line %d
55 Warning: finfo_open(): offset ` Core' invalid in %sbug61964.php on line %d
57 Warning: finfo_open(): offset ` Me' invalid in %sbug61964.php on line %d
59 Warning: finfo_open(): offset `a' invalid in %sbug61964.php on line %d
61 Warning: finfo_open(): offset `b' invalid in %sbug61964.php on line %d
/PHP-8.2/ext/hash/tests/
H A Dhash_pbkdf2_error.phpt14 echo "\n-- Testing hash_pbkdf2() function with invalid hash algorithm --\n";
31 echo "\n-- Testing hash_pbkdf2() function with invalid iterations --\n";
46 echo "\n-- Testing hash_pbkdf2() function with invalid length --\n";
58 -- Testing hash_pbkdf2() function with invalid hash algorithm --
64 -- Testing hash_pbkdf2() function with invalid iterations --
68 -- Testing hash_pbkdf2() function with invalid length --
/PHP-8.2/ext/pcre/tests/
H A Dpreg_replace_callback_array_fatal_error.phpt2 preg_replace_callback_array() invalid callable
10 // invalid callable
14 "/b/" => 'invalid callable'), 'a'));
/PHP-8.2/ext/mbstring/tests/
H A Dgh10192_utf7.phpt22 'invalid direct encoding character ~' => 'A ~ B',
23 'invalid direct encoding character \\' => 'A \\ B',
24 'invalid direct encoding character ESC' => "A \x1b B",
193 invalid direct encoding character ~
202 invalid direct encoding character \
211 invalid direct encoding character ESC
229 invalid direct encoding character ~ after +
238 invalid direct encoding character \ after +
247 invalid direct encoding character ESC after +
265 invalid base64 character between + and -
[all …]
/PHP-8.2/ext/standard/tests/general_functions/
H A Dphp_uname_error.phpt8 echo "\n-- Testing php_uname() function with invalid mode --\n";
9 // am invalid mode should result in same o/p as mode 'a'
16 -- Testing php_uname() function with invalid mode --

Completed in 23 milliseconds

12345678910>>...28