Home
last modified time | relevance | path

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

12345678910>>...26

/PHP-7.4/ext/phar/tests/zip/
H A Dbadalias.phpt2 Phar: invalid aliases
20 phar error: invalid alias "hi/there" in zip-based phar "%sbadalias1.phar.zip"
21 phar error: invalid alias "hi\there" in zip-based phar "%sbadalias2.phar.zip"
22 phar error: invalid alias "hi\there" in zip-based phar "%sbadalias3.phar.zip"
23 phar error: invalid alias "hi;there" in zip-based phar "%sbadalias4.phar.zip"
24 phar error: invalid alias "hi:there" in zip-based phar "%sbadalias5.phar.zip"
/PHP-7.4/ext/standard/tests/strings/
H A Dsetlocale_error.phpt29 echo "\n-- Testing setlocale() function with invalid locale array, 'category' = LC_ALL --\n";
31 $invalid_locales = array("en_US.invalid", "en_AU.invalid", "ko_KR.invalid");
34 echo "\n-- Testing setlocale() function with invalid multiple locales, 'category' = LC_ALL --\n";
36 var_dump( setlocale(LC_ALL,"en_US.invalid", "en_AU.invalid", "ko_KR.invalid") );
55 -- Testing setlocale() function with invalid locale array, 'category' = LC_ALL --
58 -- Testing setlocale() function with invalid multiple locales, 'category' = LC_ALL --
H A Dconvert_cyr_string_error.phpt18 echo "\n-- Testing convert_cyr_string() function with invalid 'from' character set --\n";
21 echo "\n-- Testing convert_cyr_string() function with invalid 'to' character set --\n";
24 echo "\n-- Testing convert_cyr_string() function with invalid 'from' and 'to' character set --\n";
32 -- Testing convert_cyr_string() function with invalid 'from' character set --
39 -- Testing convert_cyr_string() function with invalid 'to' character set --
46 -- Testing convert_cyr_string() function with invalid 'from' and 'to' character set --
H A Dsetlocale_variation1.phpt21 /* Test the setlocale() when multiple valid/invalid locales are provided as argument */
48 pass as argument to setlocale(), pass 2 invalid arguments along with two valid arguments*/
49 echo "*** Testing setlocale() by passing multiple valid/invalid locales as argument ***\n";
72 …giving 'category' as LC_ALL & multiple locales(en_US.invalid, en_US.utf8, Ko_KR.utf8, KO_KR.invali…
75 …$new_locale = setlocale(LC_ALL, "en_US.invalid", "en_US.utf8", "Ko_KR.utf8", "KO_KR.invalid", "zh_…
97 *** Testing setlocale() by passing multiple valid/invalid locales as argument ***
98 …giving 'category' as LC_ALL & multiple locales(en_US.invalid, en_US.utf8, Ko_KR.utf8, KO_KR.invali…
/PHP-7.4/ext/filter/tests/
H A D057.phpt2 filter_input_array() and filter_var_array() with invalid $definition arguments
7 foreach (array(null, true, false, 1, "", new stdClass) as $invalid) {
8 var_dump(filter_input_array(INPUT_POST, $invalid));
9 var_dump(filter_var_array(array(), $invalid));
/PHP-7.4/ext/intl/tests/
H A Dbug53512.phpt21 string(65) "numfmt_set_symbol: invalid symbol value: U_ILLEGAL_ARGUMENT_ERROR"
23 string(65) "numfmt_set_symbol: invalid symbol value: U_ILLEGAL_ARGUMENT_ERROR"
25 string(65) "numfmt_set_symbol: invalid symbol value: U_ILLEGAL_ARGUMENT_ERROR"
27 string(65) "numfmt_set_symbol: invalid symbol value: U_ILLEGAL_ARGUMENT_ERROR"
H A Dcalendar_get_Least_Greatest_Minimum_Maximum_error.phpt76 Warning: IntlCalendar::getLeastMaximum(): intlcal_get_least_maximum: invalid field in %s on line %d
79 Warning: IntlCalendar::getMaximum(): intlcal_get_maximum: invalid field in %s on line %d
82 Warning: IntlCalendar::getGreatestMinimum(): intlcal_get_greatest_minimum: invalid field in %s on l…
85 Warning: IntlCalendar::getMinimum(): intlcal_get_minimum: invalid field in %s on line %d
88 Warning: intlcal_get_least_maximum(): intlcal_get_least_maximum: invalid field in %s on line %d
91 Warning: intlcal_get_maximum(): intlcal_get_maximum: invalid field in %s on line %d
94 Warning: intlcal_get_greatest_minimum(): intlcal_get_greatest_minimum: invalid field in %s on line …
97 Warning: intlcal_get_minimum(): intlcal_get_minimum: invalid field in %s on line %d
/PHP-7.4/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-7.4/ext/tokenizer/tests/
H A Dtoken_get_all_variation14.phpt2 Test token_get_all() function : usage variations - invalid token values
13 * Testing token_get_all() with 'source' string containing invalid/unknown token value
17 echo "*** Testing token_get_all() : with invalid/unknown tokens ***\n";
19 // with valid php tags and invalid tokens
29 // with invalid open tag for testing entire source to be unknown token
35 // with invalid PHP tags and invalid tokens
36 echo "-- with invalid PHP tags and tokens --\n";
43 *** Testing token_get_all() : with invalid/unknown tokens ***
270 -- with invalid PHP tags and tokens --
/PHP-7.4/ext/ftp/tests/
H A Dftp_ssl_connect_error.phpt13 var_dump(ftp_ssl_connect('totes.invalid'));
15 echo "\n-- Testing ftp_ssl_connect() function invalid argument type --\n";
17 ftp_ssl_connect('totes.invalid', []);
18 ftp_ssl_connect('totes.invalid', 21, []);
21 ftp_ssl_connect('totes.invalid', 21, 1, []);
24 ftp_ssl_connect('totes.invalid', 21, 0);
35 -- Testing ftp_ssl_connect() function invalid argument type --
/PHP-7.4/ext/phar/tests/tar/
H A Dbadalias.phpt2 Phar: invalid aliases
20 phar error: invalid alias "hi/thereaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa..." in tar-based phar…
21 phar error: invalid alias "hi\there" in tar-based phar "%sbadalias2.phar.tar"
22 phar error: invalid alias "hi;there" in tar-based phar "%sbadalias3.phar.tar"
23 phar error: invalid alias "hi:there" in tar-based phar "%sbadalias4.phar.tar"
/PHP-7.4/ext/session/tests/
H A D016.phpt2 invalid session.save_path should not cause a segfault
10 session.save_path="123;:/really\\completely:::/invalid;;,23123;213"
25 Warning: session_start(): Failed to create session data file path. Too short session ID, invalid sa…
27 …): Failed to read session data: files (path: 123;:/really%scompletely:::/invalid;;,23123;213) in %…
/PHP-7.4/ext/standard/tests/array/
H A Darray_map_variation16.phpt43 …expects parameter 1 to be a valid callback, function 'echo' not found or invalid function name in …
47 …xpects parameter 1 to be a valid callback, function 'array' not found or invalid function name in …
51 …xpects parameter 1 to be a valid callback, function 'empty' not found or invalid function name in …
55 …expects parameter 1 to be a valid callback, function 'eval' not found or invalid function name in …
59 …expects parameter 1 to be a valid callback, function 'exit' not found or invalid function name in …
63 …xpects parameter 1 to be a valid callback, function 'isset' not found or invalid function name in …
67 …expects parameter 1 to be a valid callback, function 'list' not found or invalid function name in …
71 …xpects parameter 1 to be a valid callback, function 'print' not found or invalid function name in …
H A Darray_rand_variation5.phpt2 Test array_rand() function : usage variation - invalid values for 'req_num' parameter
12 * various invalid values are passed to the 'input' and 'req_num'
16 echo "*** Testing array_rand() : with invalid values for 'req_num' ***\n";
26 // Testing array_rand() function with various invalid 'req_num' values
33 // with invalid num_req value
47 *** Testing array_rand() : with invalid values for 'req_num' ***
/PHP-7.4/Zend/tests/
H A Dbug70898.phpt12 …lid callback, function '0000000000000000000000000000000000' not found or invalid function name in …
14 Warning: array_map() expects parameter 1 to be a valid callback, function '' not found or invalid f…
16 Warning: array_map() expects parameter 1 to be a valid callback, function '' not found or invalid f…
18 Warning: array_map() expects parameter 1 to be a valid callback, function '' not found or invalid f…
20 Warning: array_map() expects parameter 1 to be a valid callback, function '' not found or invalid f…
H A Dbug70895.phpt11 …) expects parameter 1 to be a valid callback, function '%n' not found or invalid function name in …
13 …xpects parameter 1 to be a valid callback, function '%n %i' not found or invalid function name in …
15 … 1 to be a valid callback, function '%n %i aoeu %f aoeu %p' not found or invalid function name in …
/PHP-7.4/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-7.4/ext/simplexml/tests/
H A DSimpleXMLElement_xpath.phpt2 Testing xpath() with invalid XML
7 // gracefully recover from parsing of invalid XML; not available in PHP
10 // we're not interested in checking concrete warnings regarding invalid XML
/PHP-7.4/ext/fileinfo/tests/
H A Dbug61964.phpt2 Bug #61964 (finfo_open with directory cause invalid free)
52 Notice: finfo_open(): Warning: offset `string' invalid in %sbug61964.php on line %d
54 Notice: finfo_open(): Warning: offset ` Core' invalid in %sbug61964.php on line %d
56 Notice: finfo_open(): Warning: offset ` Me' invalid in %sbug61964.php on line %d
58 Notice: finfo_open(): Warning: offset `a' invalid in %sbug61964.php on line %d
60 Notice: finfo_open(): Warning: offset `b' invalid in %sbug61964.php on line %d
H A Dbug61964-mb.phpt2 Bug #61964 (finfo_open with directory cause invalid free)
52 Notice: finfo_open(): Warning: offset `string' invalid in %sbug61964-mb.php on line %d
54 Notice: finfo_open(): Warning: offset ` Core' invalid in %sbug61964-mb.php on line %d
56 Notice: finfo_open(): Warning: offset ` Me' invalid in %sbug61964-mb.php on line %d
58 Notice: finfo_open(): Warning: offset `a' invalid in %sbug61964-mb.php on line %d
60 Notice: finfo_open(): Warning: offset `b' invalid in %sbug61964-mb.php on line %d
/PHP-7.4/ext/imap/tests/
H A Dimap_errors_basic.phpt16 $password = "bogus"; // invalid password to use in this test
18 echo "Issue open with invalid password with normal default number of retries, i.e 3\n";
24 echo "\n\nIssue open with invalid password with retries == 1\n";
33 Issue open with invalid password with normal default number of retries, i.e 3
47 Issue open with invalid password with retries == 1
/PHP-7.4/ext/standard/tests/filters/
H A Dbug74267.phpt2 Bug #74267 (segfault with streams and invalid data)
23 Warning: fwrite(): stream filter (convert.quoted-printable-decode): invalid byte sequence in %s on …
25 Warning: fwrite(): stream filter (convert.quoted-printable-decode): invalid byte sequence in %s on …
/PHP-7.4/ext/standard/tests/file/
H A Dis_executable_variation3.phpt2 Test is_executable() function: usage variations - invalid file names
16 /* test is_executable() with invalid arguments */
23 echo "\n*** Testing is_executable() on invalid files ***\n";
47 *** Testing is_executable() on invalid files ***
/PHP-7.4/ext/standard/tests/general_functions/
H A Dphp_uname_error.phpt14 echo "\n-- Testing php_uname() function with invalid mode --\n";
15 // am invalid mode should result in same o/p as mode 'a'
23 echo "\n-- Testing php_uname() function with invalid argument types --\n";
40 -- Testing php_uname() function with invalid mode --
43 -- Testing php_uname() function with invalid argument types --
/PHP-7.4/ext/standard/tests/network/
H A Dfsockopen_error.phpt38 echo "\n-- Attempting to connect using an invalid protocol --\n";
39 $hostname = 'invalid://127.0.0.1'; // loopback address
70 -- Attempting to connect using an invalid protocol --
72 …rning: fsockopen(): unable to connect to invalid://127.0.0.1:31337 (Unable to find the socket tran…
74 string(100) "Unable to find the socket transport "invalid" - did you forget to enable it when you c…

Completed in 47 milliseconds

12345678910>>...26