Home
last modified time | relevance | path

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

12345

/PHP-8.1/ext/standard/tests/url/
H A Dbase64_decode_basic_003.phpt35 base64 "" non-strict "" strict ""
36 base64 "=" non-strict "" strict false
37 base64 "==" non-strict "" strict false
38 base64 "===" non-strict "" strict false
39 base64 "====" non-strict "" strict false
40 base64 "V" non-strict "" strict false
41 base64 "V=" non-strict "" strict false
42 base64 "V==" non-strict "" strict false
45 base64 "VV" non-strict "U" strict "U"
47 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.
11 echo "\nWhitespace does not affect base64_decode, even with \$strict===true:\n";
18 …chars outside the base64 alphabet are ignored when \$strict===false, but cause failure with \$stri…
32 Whitespace does not affect base64_decode, even with $strict===true:
37 … chars outside the base64 alphabet are ignored when $strict===false, but cause failure with $stric…
/PHP-8.1/ext/mbstring/tests/
H A Dbug49536.phpt7 // non-strict mode
9 // strict mode
11 // non-strict mode
13 // strict mode
/PHP-8.1/ext/standard/
H A Dbase64.c270 if (!strict) { in php_base64_decode_impl()
306 if (strict && i % 4 == 1) { in php_base64_decode_impl()
312 if (strict && padding && (padding > 2 || (i + padding) % 4 != 0)) { in php_base64_decode_impl()
429 return php_base64_decode_ex_ptr(str, length, strict); in php_base64_decode_ex()
780 zend_string *php_base64_decode_ex_avx2(const unsigned char *str, size_t length, bool strict) in php_base64_decode_ex()
782 zend_string *php_base64_decode_ex_ssse3(const unsigned char *str, size_t length, bool strict) in php_base64_decode_ex()
848 if (!php_base64_decode_impl(c, length, (unsigned char*)ZSTR_VAL(result), &outl, strict)) { in php_base64_decode_ex()
871 if (!php_base64_decode_impl(c, length, (unsigned char*)ZSTR_VAL(result), &outl, strict)) { in php_base64_decode_ex_ssse3()
948 bool strict = 0; in PHP_FUNCTION() local
955 Z_PARAM_BOOL(strict) in PHP_FUNCTION()
[all …]
/PHP-8.1/Zend/tests/named_params/
H A Dmissing_param.phpt16 array_keys(strict: true);
22 array_keys([], strict: true);
28 var_dump(array_keys([41, 42], filter_value: 42, strict: true));
/PHP-8.1/ext/opcache/tests/opt/
H A Dgh10801.phpt12 print_r(array_keys(array: [1 => 1], strict: true, filter_value: 0));
14 print_r(array_keys(array: [1 => 1], filter_value: 0, strict: true));
/PHP-8.1/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_call_weak_explicit.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 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 Dtyped_properties_028.phpt2 Test typed properties respect strict types (off)
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_006.phpt2 Test strict declaration being first operation only 006
/PHP-8.1/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.phpt25 //false in strict mode
30 // false in strict mode
48 var_dump( array_search('123abc', array(123), TRUE) ); // false in strict mode
H A Din_array_variation4.phpt27 //false in strict mode
32 // false in strict mode
50 var_dump( in_array('123abc', array(123), TRUE) ); // false in strict mode
H A Darray_shift_variation5.phpt8 * When done in one statement causes strict error messages.
15 // not following strict standards
/PHP-8.1/ext/dom/tests/
H A DDOMImplementation_createDocumentType_basic.phpt10 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd");
24 …html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
/PHP-8.1/ext/pspell/
H A Dconfig.m47 dnl Add -Wno-strict-prototypes as depends on user libs
8 PHP_NEW_EXTENSION(pspell, pspell.c, $ext_shared, , "-Wno-strict-prototypes")
/PHP-8.1/ext/standard/tests/strings/
H A Dbug72264.phpt2 Bug #72264 (base64_decode $strict fails with whitespace between padding)
/PHP-8.1/ext/gettext/tests/
H A Dbug73730.phpt2 Bug #73730 (textdomain(null) throws in strict mode)
/PHP-8.1/Zend/tests/
H A Dbug48912.phpt2 Bug #48912 (Namespace causes unexpected strict behaviour with extract())
/PHP-8.1/Zend/tests/match/
H A D024.phpt2 Test match strict comparison with false expression

Completed in 37 milliseconds

12345