/PHP-8.4/ext/filter/tests/ |
H A D | filter_null_on_failure.phpt | 7 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.4/ext/dom/tests/modern/html/parser/ |
H A D | HTMLDocument_parse_options.phpt | 44 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-8.4/ext/standard/tests/strings/ |
H A D | setlocale_error.phpt | 7 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 D | setlocale_variation1.phpt | 2 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.4/ext/phar/tests/zip/ |
H A D | badalias.phpt | 2 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.4/ext/curl/tests/ |
H A D | curl_setopt_callables.phpt | 33 …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-8.4/ext/zend_test/tests/ |
H A D | strings_not_marked_as_utf8.phpt | 2 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-8.4/ext/tokenizer/tests/ |
H A D | token_get_all_variation14.phpt | 2 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.4/ext/standard/tests/array/ |
H A D | array_map_variation16.phpt | 31 …#1 ($callback) must be a valid callback or null, function "echo" not found or invalid function name 32 …1 ($callback) must be a valid callback or null, function "array" not found or invalid function name 33 …1 ($callback) must be a valid callback or null, function "empty" not found or invalid function name 34 …#1 ($callback) must be a valid callback or null, function "eval" not found or invalid function name 35 …1 ($callback) must be a valid callback or null, function "isset" not found or invalid function name 36 …#1 ($callback) must be a valid callback or null, function "list" not found or invalid function name 37 …1 ($callback) must be a valid callback or null, function "print" not found or invalid function name
|
/PHP-8.4/Zend/tests/nullsafe_operator/ |
H A D | 034.phpt | 14 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.4/ext/phar/tests/tar/ |
H A D | badalias.phpt | 2 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.4/ext/intl/tests/ |
H A D | bug53512.phpt | 22 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.4/Zend/tests/type_declarations/ |
H A D | typed_properties_076.phpt | 22 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.4/ext/standard/tests/network/ |
H A D | fsockopen_error.phpt | 16 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 D | setcookie_error.phpt | 16 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.4/ext/dom/tests/modern/css_selectors/ |
H A D | closest_invalid_selector.phpt | 2 Test DOM\Element::closest() method: invalid selector 11 var_dump($dom->documentElement->closest('@invalid')); 18 Invalid selector (Selectors. Unexpected token: @invalid)
|
H A D | matches_invalid_selector.phpt | 2 Test DOM\Element::matches() method: invalid selector 11 var_dump($dom->documentElement->matches('@invalid')); 18 Invalid selector (Selectors. Unexpected token: @invalid)
|
/PHP-8.4/ext/session/tests/ |
H A D | 016.phpt | 2 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.4/Zend/tests/constexpr/ |
H A D | new_self_parent.phpt | 7 public static function invalid($x = new parent) { 16 function invalid($x = new self) {} 21 invalid(); 27 B::invalid();
|
/PHP-8.4/ext/dom/tests/ |
H A D | dom_create_element.phpt | 17 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.4/ext/standard/tests/file/ |
H A D | is_executable_variation3.phpt | 2 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 ***
|
/PHP-8.4/ext/date/tests/ |
H A D | date_default_timezone_set_error.phpt | 7 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.4/ext/fileinfo/tests/ |
H A D | bug61964-mb.phpt | 2 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 D | bug61964.phpt | 2 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.4/ext/hash/tests/ |
H A D | hash_pbkdf2_error.phpt | 14 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 --
|