Home
last modified time | relevance | path

Searched refs:strict (Results 1 – 25 of 92) sorted by relevance

1234

/PHP-7.3/ext/standard/tests/url/
H A Dbase64_decode_basic_003.phpt43 base64 "" non-strict "" strict ""
44 base64 "=" non-strict "" strict false
45 base64 "==" non-strict "" strict false
46 base64 "===" non-strict "" strict false
47 base64 "====" non-strict "" strict false
48 base64 "V" non-strict "" strict false
49 base64 "V=" non-strict "" strict false
50 base64 "V==" non-strict "" strict false
53 base64 "VV" non-strict "U" strict "U"
55 base64 "VV==" non-strict "U" strict "U"
[all …]
H A Dbase64_decode_basic_002.phpt2 Test base64_decode() function : basic functionality - strict vs non-strict with non-base64 chars.
5 /* Prototype : proto string base64_decode(string str[, bool strict])
17 echo "\nWhitespace does not affect base64_decode, even with \$strict===true:\n";
24 …chars outside the base64 alphabet are ignored when \$strict===false, but cause failure with \$stri…
38 Whitespace does not affect base64_decode, even with $strict===true:
43 … chars outside the base64 alphabet are ignored when $strict===false, but cause failure with $stric…
H A Dbase64_decode_error_001.phpt5 /* Prototype : proto string base64_decode(string str[, bool strict])
20 $strict = true;
22 var_dump( base64_decode($str, $strict, $extra_arg) );
/PHP-7.3/ext/mbstring/tests/
H A Dbug49536.phpt7 // non-strict mode
9 // strict mode
11 // non-strict mode
13 // strict mode
/PHP-7.3/ext/standard/
H A Dbase64.c103 if (!strict) { in php_base64_decode_impl()
139 if (strict && i % 4 == 1) { in php_base64_decode_impl()
145 if (strict && padding && (padding > 2 || (i + padding) % 4 != 0)) { in php_base64_decode_impl()
634 zend_string *php_base64_decode_ex_avx2(const unsigned char *str, size_t length, zend_bool strict) in php_base64_decode_ex()
636 zend_string *php_base64_decode_ex_ssse3(const unsigned char *str, size_t length, zend_bool strict) in php_base64_decode_ex()
702 if (!php_base64_decode_impl(c, length, (unsigned char*)ZSTR_VAL(result), &outl, strict)) { in php_base64_decode_ex()
725 if (!php_base64_decode_impl(c, length, (unsigned char*)ZSTR_VAL(result), &outl, strict)) { in php_base64_decode_ex_ssse3()
770 if (!php_base64_decode_impl(str, length, (unsigned char*)ZSTR_VAL(result), &outl, strict)) { in php_base64_decode_ex_default()
808 zend_bool strict = 0; in PHP_FUNCTION() local
815 Z_PARAM_BOOL(strict) in PHP_FUNCTION()
[all …]
/PHP-7.3/ext/dom/tests/
H A DDOMImplementation_createDocumentType_basic.phpt12 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd");
17 …html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
/PHP-7.3/ext/standard/tests/array/
H A Darray_keys_variation_005.phpt14 var_dump(array_keys($arr_resource, $resource1, TRUE)); // strict type checking
16 var_dump(array_keys($arr_resource, $resource2, TRUE)); // strict type checking
H A Darray_search_variation4.phpt6 * Prototype : mixed array_search ( mixed $needle, array $haystack [, bool $strict] )
31 //false in strict mode
36 // false in strict mode
54 var_dump( array_search('123abc', array(123), TRUE) ); // false in strict mode
H A Din_array_variation4.phpt6 * Prototype : bool in_array ( mixed $needle, array $haystack [, bool $strict] )
34 //false in strict mode
39 // false in strict mode
57 var_dump( in_array('123abc', array(123), TRUE) ); // false in strict mode
H A Darray_search_variation2.phpt6 * Prototype : mixed array_search ( mixed $needle, array $haystack [, bool $strict] )
34 /* loop to do loose and strict type check of elements in
43 //strict type checking
H A Din_array_variation2.phpt6 * Prototype : bool in_array ( mixed $needle, array $haystack [, bool $strict] )
34 /* loop to do loose and strict type check of elements in
43 //strict type checking
H A Darray_shift_variation5.phpt13 * When done in one statement causes strict error messages.
20 // not following strict standards
/PHP-7.3/Zend/tests/type_declarations/
H A Dstrict_call_weak.phpt12 // This file uses strict mode, so the call is strict, and float denied for int
H A Dstrict_nested.phpt18 takes_int(1.0); // should fail, strict mode
23 takes_int(1.0); // should fail, strict mode
H A Dstrict_call_weak_explicit.phpt12 // This file uses strict mode, so the call is strict, and float denied for int
H A Dweak_include_strict_2.inc9 takes_int(1.0); // fails in strict mode
H A Dscalar_strict_declaration_placement_005.phpt2 Test strict declaration being first operation only 005
H A Dscalar_float_with_integer_default_strict.phpt2 Float type should allow an integer as default even with strict types
H A Dscalar_strict_declaration_placement_004.phpt2 Test strict declaration being first operation only 004
H A Dscalar_strict_declaration_placement_008.phpt2 Test strict declaration block declaration 008
/PHP-7.3/Zend/tests/traits/
H A Dbug55554d.phpt6 // Test mixed constructors from different traits, we are more strict about
9 // here we have a chance to be more strict for the new traits.
/PHP-7.3/ext/standard/tests/strings/
H A Dbug72264.phpt2 Bug #72264 (base64_decode $strict fails with whitespace between padding)
H A Dbug72152.phpt2 Bug #72152 (base64_decode $strict fails to detect null byte)
/PHP-7.3/Zend/tests/
H A Dbug48912.phpt2 Bug #48912 (Namespace causes unexpected strict behaviour with extract())
/PHP-7.3/ext/intl/tests/
H A Dbug77895.phpt2 Bug #77895: IntlDateFormatter::create fails in strict mode if $locale = null

Completed in 34 milliseconds

1234