Home
last modified time | relevance | path

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

123

/PHP-5.5/ext/standard/tests/url/
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) );
H A Dbug55273.phpt2 Bug #55273 (base64_decode() with strict rejects whitespace after pad)
H A Dbase64_decode_variation_001.phpt5 /* Prototype : proto string base64_decode(string str[, bool strict])
19 $strict = true;
81 $output = base64_decode($value, $strict);
H A Dbase64_decode_basic_001.phpt5 /* Prototype : proto string base64_decode(string str[, bool strict])
H A Dbase64_decode_variation_002.phpt5 /* Prototype : proto string base64_decode(string str[, bool strict])
77 // loop through each element of the array for strict argument
/PHP-5.5/ext/mbstring/tests/
H A Dbug49536.phpt7 // non-strict mode
9 // strict mode
11 // non-strict mode
13 // strict mode
/PHP-5.5/ext/standard/
H A Dbase64.c143 …base64_decode_ex(const unsigned char *str, int length, int *ret_length, zend_bool strict) /* {{{ */ in php_base64_decode_ex() argument
155 if (*current != '=' && ((i % 4) == 1 || (strict && length > 0))) { in php_base64_decode_ex()
171 …if ((!strict && ch < 0) || ch == -1) { /* a space or some other separator character, we simply ski… in php_base64_decode_ex()
244 zend_bool strict = 0; in PHP_FUNCTION() local
247 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|b", &str, &str_len, &strict) == FAILURE) { in PHP_FUNCTION()
250 result = php_base64_decode_ex((unsigned char*)str, str_len, &ret_length, strict); in PHP_FUNCTION()
/PHP-5.5/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-5.5/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.h152 int strict; member
155 …oding_detector * mbfl_encoding_detector_new(enum mbfl_no_encoding *elist, int elistsz, int strict);
156 …oding_detector * mbfl_encoding_detector_new2(const mbfl_encoding **elist, int elistsz, int strict);
174 mbfl_identify_encoding(mbfl_string *string, enum mbfl_no_encoding *elist, int elistsz, int strict);
177 mbfl_identify_encoding2(mbfl_string *string, const mbfl_encoding **elist, int elistsz, int strict);
/PHP-5.5/ext/standard/tests/array/
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 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 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
H A Darray_diff_assoc_variation6.phpt2 Test array_diff_assoc() function : usage variations - strict string comparison check
15 * 2. When doing a strict comparison of string representation
H A Din_array_errors.phpt6 * Prototype : bool in_array ( mixed $needle, array $haystack [, bool $strict] )
/PHP-5.5/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.
H A Dproperty001.phpt2 Potentially conflicting properties should result in a strict notice. Property use is discorage for …
/PHP-5.5/tests/classes/
H A Dnew_001.phpt7 echo "Compile-time strict error message should precede this.\n";
33 Compile-time strict error message should precede this.
/PHP-5.5/Zend/tests/
H A Dbug48912.phpt2 Bug #48912 (Namespace causes unexpected strict behaviour with extract())
/PHP-5.5/ext/date/tests/
H A Ddate_sunrise_and_sunset_basic.phpt17 // suppress date() function strict msgs
/PHP-5.5/ext/tidy/tests/
H A D020.phpt27 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
/PHP-5.5/ext/mysqli/tests/
H A Dbug35759.phpt25 /* SQL strict mode - [1101] BLOB/TEXT column 'a0' can't have a default value */

Completed in 23 milliseconds

123