Home
last modified time | relevance | path

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

12345678910>>...29

/php-src/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-src/ext/dom/tests/modern/html/parser/
H A DHTMLDocument_parse_options.phpt44 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:…
46 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:…
48 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:…
50 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:…
52 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:…
54 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:…
56 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:…
58 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:…
60 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:…
77 Dom\HTMLDocument::createFromFile(): Argument #2 ($options) contains invalid flags (allowed flags: L…
[all …]
/php-src/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-src/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-src/ext/curl/tests/
H A Dcurl_setopt_callables.phpt33 …llback for option CURLOPT_PROGRESSFUNCTION, function "undefined" not found or invalid function name
34 …llback for option CURLOPT_PROGRESSFUNCTION, function "undefined" not found or invalid function name
35 …llback for option CURLOPT_XFERINFOFUNCTION, function "undefined" not found or invalid function name
36 …llback for option CURLOPT_XFERINFOFUNCTION, function "undefined" not found or invalid function name
37 …llback for option CURLOPT_FNMATCH_FUNCTION, function "undefined" not found or invalid function name
39 … callback for option CURLOPT_WRITEFUNCTION, function "undefined" not found or invalid function name
40 … callback for option CURLOPT_WRITEFUNCTION, function "undefined" not found or invalid function name
41 …callback for option CURLOPT_HEADERFUNCTION, function "undefined" not found or invalid function name
42 …callback for option CURLOPT_HEADERFUNCTION, function "undefined" not found or invalid function name
43 …d callback for option CURLOPT_READFUNCTION, function "undefined" not found or invalid function name
[all …]
/php-src/ext/zend_test/tests/
H A Dstrings_not_marked_as_utf8.phpt2 Check that invalid UTF-8 strings are NOT marked as valid UTF-8
10 echo "Integer cast to string concatenated to invalid UTF-8:\n";
16 echo "Float cast to string concatenated to invalid UTF-8:\n";
26 echo "Concatenation known valid UTF-8 strings in variables, followed by concatenation of invalid UT…
39 echo "Concatenation known valid UTF-8 with invalid UTF-8 in assignment:\n";
49 echo "Multiple concatenation known valid UTF-8 and invalid UTF-8 in assignment:\n";
113 Integer cast to string concatenated to invalid UTF-8:
115 Float cast to string concatenated to invalid UTF-8:
118 Concatenation known valid UTF-8 strings in variables, followed by concatenation of invalid UTF-8:
122 Concatenation known valid UTF-8 with invalid UTF-8 in assignment:
[all …]
/php-src/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-src/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-src/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-src/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-src/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-src/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-src/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-src/ext/session/tests/
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-src/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-src/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', '', '');
327 2 DOMDocument::createElement('-invalid')
341 9 DOMDocument::createElementNS('', 'prefix:invalid')
351 14 DOMElement::__construct('-invalid')
[all …]
/php-src/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-src/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-src/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-src/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-src/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

Completed in 33 milliseconds

12345678910>>...29