Home
last modified time | relevance | path

Searched refs:valid (Results 26 – 50 of 918) sorted by relevance

12345678910>>...37

/php-src/ext/zend_test/tests/iterators/
H A Ddouble-rewind.phpt19 TraversableTest::valid
24 TraversableTest::valid
29 TraversableTest::valid
34 TraversableTest::valid
39 TraversableTest::valid
/php-src/ext/spl/tests/
H A Diterator_022.phpt14 function valid(): bool
16 if (!parent::valid())
47 function valid(): bool
55 return parent::valid();
131 RecursiveArrayIteratorIterator::valid
141 RecursiveArrayIteratorIterator::valid
151 RecursiveArrayIteratorIterator::valid
157 RecursiveArrayIteratorIterator::valid
162 MyRecursiveArrayIterator::valid = false
169 RecursiveArrayIteratorIterator::valid
[all …]
H A Diterator_034.phpt8 function valid(): bool
10 if (!parent::valid())
52 function valid(): bool
55 return parent::valid();
116 var_dump($it->valid());
125 RecursiveArrayIteratorIterator::valid()
135 RecursiveArrayIteratorIterator::valid()
145 RecursiveArrayIteratorIterator::valid()
151 RecursiveArrayIteratorIterator::valid()
163 RecursiveArrayIteratorIterator::valid()
[all …]
H A Dobserver_002.phpt14 function valid(): bool
17 return parent::valid();
150 MyObjectStorage::valid(1)
155 MyObjectStorage::valid(1)
160 MyObjectStorage::valid(1)
165 MyObjectStorage::valid(0)
170 MyObjectStorage::valid(1)
175 MyObjectStorage::valid(1)
180 MyObjectStorage::valid(0)
186 MyObjectStorage::valid(0)
[all …]
H A Dbug70561.phpt9 while ($di->valid()) {
19 echo "Is valid? " . (int) $di->valid() . PHP_EOL;
23 Is valid? 0
H A Darray_020.phpt14 function valid(): bool
17 return ArrayIterator::valid();
49 ArrayIteratorEx::valid
55 ArrayIteratorEx::valid
61 ArrayIteratorEx::valid
H A Ddualiterator.inc84 /** @return whether both inner iterators are valid
86 function valid(): bool
88 return $this->lhs->valid() && $this->rhs->valid();
133 /** @return whether both inner iterators are valid and have identical
134 * current and key values or both are non valid.
138 return $this->valid()
141 : $this->lhs->valid() == $this->rhs->valid();
144 /** @return whether both inner iterators are valid and have equal current
145 * and key values or both are non valid.
149 return $this->valid()
[all …]
H A Dbug37457.phpt8 protected $array, $valid = false;
31 $this->valid = (false !== next($this->array));
34 public function valid(): bool
37 return $this->valid;
43 $this->valid = (false !== reset($this->array));
74 Collection::valid
H A Diterator_030.phpt8 var_dump($it->valid());
10 var_dump($it->valid());
12 var_dump($it->valid());
32 var_dump($it->valid());
H A Diterator_001.phpt23 public function valid(): bool
94 NumericArrayIterator::valid(true)
96 NumericArrayIterator::valid(true)
97 NumericArrayIterator::valid(true)
104 NumericArrayIterator::valid(true)
111 NumericArrayIterator::valid(true)
122 NumericArrayIterator::valid(true)
129 NumericArrayIterator::valid(true)
136 NumericArrayIterator::valid(true)
148 NumericArrayIterator::valid(true)
[all …]
H A Drecursivecomparedualiterator.inc48 $this->equal &= !$this->getInnerIterator()->getLHS()->valid()
49 && !$this->getInnerIterator()->getRHS()->valid();
52 /** @return whether both inner iterators are valid and have identical
53 * current and key values or both are non valid.
60 /** @return whether both inner iterators are valid and have equal current
61 * and key values or both are non valid.
/php-src/ext/curl/tests/
H A Dcurl_setopt_callables.phpt33 TypeError: curl_setopt(): Argument #3 ($value) must be a valid callback for option CURLOPT_PROGRESS…
34 TypeError: curl_setopt_array(): Argument #2 ($options) must be a valid callback for option CURLOPT_…
35 TypeError: curl_setopt(): Argument #3 ($value) must be a valid callback for option CURLOPT_XFERINFO…
36 TypeError: curl_setopt_array(): Argument #2 ($options) must be a valid callback for option CURLOPT_…
37 TypeError: curl_setopt(): Argument #3 ($value) must be a valid callback for option CURLOPT_FNMATCH_…
39 TypeError: curl_setopt(): Argument #3 ($value) must be a valid callback for option CURLOPT_WRITEFUN…
40 TypeError: curl_setopt_array(): Argument #2 ($options) must be a valid callback for option CURLOPT_…
41 TypeError: curl_setopt(): Argument #3 ($value) must be a valid callback for option CURLOPT_HEADERFU…
42 TypeError: curl_setopt_array(): Argument #2 ($options) must be a valid callback for option CURLOPT_…
43 TypeError: curl_setopt(): Argument #3 ($value) must be a valid callback for option CURLOPT_READFUNC…
[all …]
/php-src/ext/phar/tests/
H A Dphar_buildfromiterator4.phpt29 function valid(): bool {
30 echo "valid\n";
61 valid
65 valid
69 valid
73 valid
77 valid
H A Dphar_oo_004.phpt40 function valid(): bool
43 return parent::valid();
99 MyDirectoryIterator::valid
105 MyDirectoryIterator::valid
111 MyDirectoryIterator::valid
117 MyDirectoryIterator::valid
123 MyDirectoryIterator::valid
/php-src/Zend/tests/type_declarations/
H A Dtyped_properties_076.phpt35 function valid(Test $test, string $prop1, string $prop2, $value) {
52 valid($test, 'int', 'nint', 42);
54 valid($test, 'nint', 'nstring', null);
56 valid($test, 'A', 'A', new A);
57 valid($test, 'A', 'B', new B);
59 valid($test, 'iterable', 'array', [1, 2, 3]);
60 valid($test, 'A', 'object', new A);
62 valid($test, 'iterable', 'Iterator', new ArrayIterator);
64 valid($test, 'object', 'iterable', new ArrayIterator);
/php-src/ext/standard/tests/general_functions/
H A Dcallbacks_002.phpt24 call_user_func(): Argument #1 ($callback) must be a valid callback, class "Foo" not found
25 call_user_func(): Argument #1 ($callback) must be a valid callback, first array member is not a val…
26 …all_user_func(): Argument #1 ($callback) must be a valid callback, second array member is not a va…
/php-src/ext/mbstring/tests/
H A Dmb_regex_encoding_variation2.phpt100 mb_regex_encoding(): Argument #1 ($encoding) must be a valid encoding, "UCS-4BE" given
110 mb_regex_encoding(): Argument #1 ($encoding) must be a valid encoding, "UCS-2" given
115 mb_regex_encoding(): Argument #1 ($encoding) must be a valid encoding, "UCS-2BE" given
120 mb_regex_encoding(): Argument #1 ($encoding) must be a valid encoding, "UCS-2LE" given
155 mb_regex_encoding(): Argument #1 ($encoding) must be a valid encoding, "UTF-7" given
200 mb_regex_encoding(): Argument #1 ($encoding) must be a valid encoding, "JIS" given
300 mb_regex_encoding(): Argument #1 ($encoding) must be a valid encoding, "7bit" given
305 mb_regex_encoding(): Argument #1 ($encoding) must be a valid encoding, "8bit" given
315 mb_regex_encoding(): Argument #1 ($encoding) must be a valid encoding, "CP936" given
320 mb_regex_encoding(): Argument #1 ($encoding) must be a valid encoding, "HZ" given
[all …]
/php-src/tests/lang/
H A DforeachLoopIteratorAggregate.004.phpt18 function valid(): bool {
72 c_iter::valid = true
78 c_iter::valid = true
82 c_iter::valid = true
88 c_iter::valid = true
92 c_iter::valid = true
98 c_iter::valid = true
102 c_iter::valid = false
/php-src/tests/classes/
H A Diterators_002.phpt18 function valid(): bool {
75 c_iter::valid = true
81 c_iter::valid = true
86 c_iter::valid = true
92 c_iter::valid = true
97 c_iter::valid = true
103 c_iter::valid = true
108 c_iter::valid = false
/php-src/Zend/tests/
H A Dcall_user_func_002.phpt34 call_user_func(): Argument #1 ($callback) must be a valid callback, class "foo" not found
35 call_user_func(): Argument #1 ($callback) must be a valid callback, class "" not found
38 call_user_func(): Argument #1 ($callback) must be a valid callback, first array member is not a val…
41 call_user_func(): Argument #1 ($callback) must be a valid callback, first array member is not a val…
/php-src/ext/intl/tests/
H A Dtimezone_clone_basic.phpt22 [valid] => 1
29 [valid] => 1
36 [valid] => 1
43 [valid] => 1
/php-src/Zend/tests/generators/
H A Dyield_from_valid_exception.phpt2 Exception from valid() during yield from
11 function valid(): bool {
12 throw new Exception("Exception from valid()");
30 Exception from valid()
/php-src/ext/hash/tests/
H A Dhash_hkdf_error.phpt51 [ValueError] hash_hkdf(): Argument #1 ($algo) must be a valid cryptographic hashing algorithm
54 [ValueError] hash_hkdf(): Argument #1 ($algo) must be a valid cryptographic hashing algorithm
55 [ValueError] hash_hkdf(): Argument #1 ($algo) must be a valid cryptographic hashing algorithm
56 [ValueError] hash_hkdf(): Argument #1 ($algo) must be a valid cryptographic hashing algorithm
57 [ValueError] hash_hkdf(): Argument #1 ($algo) must be a valid cryptographic hashing algorithm
58 [ValueError] hash_hkdf(): Argument #1 ($algo) must be a valid cryptographic hashing algorithm
59 [ValueError] hash_hkdf(): Argument #1 ($algo) must be a valid cryptographic hashing algorithm
60 [ValueError] hash_hkdf(): Argument #1 ($algo) must be a valid cryptographic hashing algorithm
61 [ValueError] hash_hkdf(): Argument #1 ($algo) must be a valid cryptographic hashing algorithm
/php-src/ext/zend_test/tests/
H A Dstrings_not_marked_as_utf8.phpt2 Check that invalid UTF-8 strings are NOT marked as valid UTF-8
26 echo "Concatenation known valid UTF-8 strings in variables, followed by concatenation of invalid UT…
33 echo "Multiple concatenation known valid UTF-8 strings in variables, followed by concatenation of i…
39 echo "Concatenation known valid UTF-8 with invalid UTF-8 in assignment:\n";
44 // That class name does not have the "valid UTF-8" flag because class names in general
47 // not have the "valid UTF-8" flag. We therefore choose a different test case: "fxo".
49 echo "Multiple concatenation known valid UTF-8 and invalid UTF-8 in assignment:\n";
118 Concatenation known valid UTF-8 strings in variables, followed by concatenation of invalid UTF-8:
120 Multiple concatenation known valid UTF-8 strings in variables, followed by concatenation of invalid…
122 Concatenation known valid UTF-8 with invalid UTF-8 in assignment:
[all …]
/php-src/ext/standard/tests/array/
H A Darray_map_variation16.phpt41 array_map(): Argument #1 ($callback) must be a valid callback or null, function "echo" not found or…
43 array_map(): Argument #1 ($callback) must be a valid callback or null, function "array" not found o…
45 array_map(): Argument #1 ($callback) must be a valid callback or null, function "empty" not found o…
47 array_map(): Argument #1 ($callback) must be a valid callback or null, function "eval" not found or…
49 array_map(): Argument #1 ($callback) must be a valid callback or null, function "exit" not found or…
51 array_map(): Argument #1 ($callback) must be a valid callback or null, function "isset" not found o…
53 array_map(): Argument #1 ($callback) must be a valid callback or null, function "list" not found or…
55 array_map(): Argument #1 ($callback) must be a valid callback or null, function "print" not found o…

Completed in 32 milliseconds

12345678910>>...37