/php-src/ext/standard/tests/url/ |
H A D | base64_decode_basic_003.phpt | 35 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 D | base64_decode_basic_002.phpt | 2 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… 47 Whitespace does not affect base64_decode, even with $strict===true: 52 … chars outside the base64 alphabet are ignored when $strict===false, but cause failure with $stric…
|
/php-src/ext/mbstring/tests/ |
H A D | bug49536.phpt | 7 // non-strict mode 9 // strict mode 11 // non-strict mode 13 // strict mode
|
H A D | mb_detect_encoding.phpt | 405 Bad ASCII (non-strict): UTF-8 406 Bad ASCII (strict): UTF-8 409 UTF-8 BOM (non-strict): UTF-8 410 UTF-8 BOM (strict): UTF-8 411 UTF-16BE BOM (non-strict): UTF-16BE 412 UTF-16BE BOM (strict): UTF-16BE 413 UTF-16LE BOM (non-strict): UTF-16LE 414 UTF-16LE BOM (strict): UTF-16LE 417 EUC-JP (strict): EUC-JP 418 EUC-JP (non-strict): EUC-JP [all …]
|
/php-src/Zend/tests/named_params/ |
H A D | missing_param.phpt | 16 array_keys(strict: true); 22 array_keys([], strict: true); 28 var_dump(array_keys([41, 42], filter_value: 42, strict: true));
|
/php-src/ext/standard/ |
H A D | base64.c | 274 if (!strict) { in php_base64_decode_impl() 310 if (strict && i % 4 == 1) { in php_base64_decode_impl() 316 if (strict && padding && (padding > 2 || (i + padding) % 4 != 0)) { in php_base64_decode_impl() 476 return php_base64_decode_ex_ptr(str, length, strict); in php_base64_decode_ex() 613 if (!php_base64_decode_impl(c, length, (unsigned char*)ZSTR_VAL(result), &outl, strict)) { in php_base64_decode_ex_avx512_vbmi() 746 if (!php_base64_decode_impl(c, length, (unsigned char*)ZSTR_VAL(result), &outl, strict)) { in php_base64_decode_ex_avx512() 1150 if (!php_base64_decode_impl(c, length, (unsigned char*)ZSTR_VAL(result), &outl, strict)) { in php_base64_decode_ex() 1173 if (!php_base64_decode_impl(c, length, (unsigned char*)ZSTR_VAL(result), &outl, strict)) { in php_base64_decode_ex_ssse3() 1250 bool strict = 0; in PHP_FUNCTION() local 1257 Z_PARAM_BOOL(strict) in PHP_FUNCTION() [all …]
|
/php-src/ext/opcache/tests/opt/ |
H A D | gh10801.phpt | 12 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-src/Zend/tests/type_declarations/ |
H A D | strict_call_weak.phpt | 12 // This file uses strict mode, so the call is strict, and float denied for int
|
H A D | strict_call_weak_explicit.phpt | 12 // This file uses strict mode, so the call is strict, and float denied for int
|
H A D | strict_nested.phpt | 18 takes_int(1.0); // should fail, strict mode 23 takes_int(1.0); // should fail, strict mode
|
H A D | weak_include_strict_2.inc | 9 takes_int(1.0); // fails in strict mode
|
H A D | scalar_strict_declaration_placement_005.phpt | 2 Test strict declaration being first operation only 005
|
H A D | typed_properties_028.phpt | 2 Test typed properties respect strict types (off)
|
H A D | scalar_float_with_integer_default_strict.phpt | 2 Float type should allow an integer as default even with strict types
|
H A D | scalar_strict_declaration_placement_004.phpt | 2 Test strict declaration being first operation only 004
|
/php-src/ext/standard/tests/array/ |
H A D | array_keys_variation_005.phpt | 14 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 D | array_search_variation4.phpt | 25 //false in strict mode 30 // false in strict mode 48 var_dump( array_search('123abc', array(123), TRUE) ); // false in strict mode
|
H A D | in_array_variation4.phpt | 27 //false in strict mode 32 // false in strict mode 50 var_dump( in_array('123abc', array(123), TRUE) ); // false in strict mode
|
H A D | array_shift_variation5.phpt | 8 * When done in one statement causes strict error messages. 15 // not following strict standards
|
/php-src/ext/dom/tests/ |
H A D | DOMImplementation_createDocumentType_basic.phpt | 10 "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-src/ext/dom/tests/modern/html/parser/ |
H A D | HTMLDocument_fromString_old_dtd.phpt | 9 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 34 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
/php-src/ext/dom/tests/modern/html/serializer/ |
H A D | HTMLDocument_serialize_doctype.phpt | 9 <!DOCTYPE HTML1234 PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 28 <!DOCTYPE html1234 PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
/php-src/ext/standard/tests/strings/ |
H A D | bug72264.phpt | 2 Bug #72264 (base64_decode $strict fails with whitespace between padding)
|
/php-src/ext/gettext/tests/ |
H A D | bug73730.phpt | 2 Bug #73730 (textdomain(null) throws in strict mode)
|
/php-src/Zend/tests/ |
H A D | bug48912.phpt | 2 Bug #48912 (Namespace causes unexpected strict behaviour with extract())
|