/PHP-7.3/ext/pcntl/tests/ |
H A D | 003.phpt | 13 var_dump(count($old)); 15 var_dump(count($old)); 17 var_dump(count($old)); 19 var_dump(count($old)); 21 var_dump(count($old)); 23 var_dump(count($old));
|
/PHP-7.3/ext/interbase/tests/ |
H A D | 008.phpt | 13 $count = 0; 17 global $count; 19 return (++$count < 5); /* cancel event */ 43 if (!$count || $count > 5) echo "FAIL ($count)\n";
|
/PHP-7.3/ext/ldap/tests/ |
H A D | ldap_search_variation2.phpt | 35 ["count"]=> 41 ["count"]=> 46 ["count"]=> 55 ["count"]=> 60 ["count"]=> 69 ["count"]=> 74 ["count"]=>
|
H A D | ldap_search_variation5.phpt | 46 ["count"]=> 52 ["count"]=> 57 ["count"]=> 67 ["count"]=> 73 ["count"]=> 78 ["count"]=> 88 ["count"]=> 94 ["count"]=> 99 ["count"]=>
|
H A D | ldap_control_paged_results_variation3.phpt | 42 ["count"]=> 48 ["count"]=> 55 ["count"]=> 64 ["count"]=> 71 ["count"]=> 81 ["count"]=> 87 ["count"]=> 94 ["count"]=>
|
H A D | ldap_search_paged_result_controls.phpt | 42 ["count"]=> 48 ["count"]=> 55 ["count"]=> 64 ["count"]=> 71 ["count"]=> 80 ["count"]=> 86 ["count"]=> 93 ["count"]=>
|
H A D | ldap_modify_batch_basic.phpt | 52 ["count"]=> 58 ["count"]=> 67 ["count"]=> 76 ["count"]=> 85 ["count"]=> 96 ["count"]=> 103 ["count"]=>
|
/PHP-7.3/ext/standard/tests/array/ |
H A D | count_variation2.phpt | 2 Test count() function : usage variations - Pass different data types as $mode arg 7 /* Prototype : int count(mixed $var [, int $mode]) 13 * Pass different data types as $mode argument to count() to test behaviour 16 echo "*** Testing count() : usage variations ***\n"; 89 // loop through each element of $inputs to check the behavior of count() 93 var_dump( count($var, $input) ); 102 *** Testing count() : usage variations *** 151 Warning: count() expects parameter 2 to be int, string given in %s on line %d 156 Warning: count() expects parameter 2 to be int, string given in %s on line %d 161 Warning: count() expects parameter 2 to be int, string given in %s on line %d [all …]
|
H A D | bug48224.phpt | 6 $a1 = array_rand($a, count($a)); 7 $a2 = array_rand($a, count($a)); 8 $a3 = array_rand($a, count($a)); 9 $a4 = array_rand($a, count($a));
|
/PHP-7.3/ext/spl/internal/ |
H A D | limititerator.inc | 28 private $count; 35 * @param count Maximum number of elements to show or -1 for all 37 function __construct(Iterator $it, $offset = 0, $count = -1) 42 if ($count < 0 && $count != -1) { 43 throw new exception('Parameter count must either be -1 or a value greater than or equal to 0'); 47 $this->count = $count; 60 if ($position > $this->offset + $this->count && $this->count != -1) { 61 …('Cannot seek to '.$position.' which is behind offset '.$this->offset.' plus count '.$this->count); 85 return ($this->count == -1 || $this->pos < $this->offset + $this->count)
|
H A D | recursiveiteratoriterator.inc | 36 private $count = 0; 64 while ($this->count) { 77 $count = $this->count; 78 while ($count) { 79 $it = $this->ait[$count]; 83 $count--; 93 $it = $this->ait[$this->count]; 101 $it = $this->ait[$this->count]; 109 while ($this->count) { 146 if ($this->count) { [all …]
|
/PHP-7.3/ext/dom/tests/ |
H A D | bug43364.phpt | 9 $count = 0; 12 $count++; 14 $count += loopElements($node->childNodes); 18 return $count; 37 $count = loopElements(array($doc->documentElement)); 39 var_dump($count);
|
H A D | domxpath.phpt | 10 $count = 0; 13 $count++; 17 return $val/$count; 37 $count = $xpath->evaluate("count(//def:child)"); 39 var_dump($count);
|
/PHP-7.3/ext/hash/ |
H A D | hash_ripemd.c | 75 context->count[0] = context->count[1] = 0; in PHP_RIPEMD128Init() 90 context->count[0] = context->count[1] = 0; in PHP_RIPEMD256Init() 109 context->count[0] = context->count[1] = 0; in PHP_RIPEMD160Init() 125 context->count[0] = context->count[1] = 0; in PHP_RIPEMD320Init() 267 context->count[1]++; in PHP_RIPEMD128Update() 269 context->count[1] += ((uint32_t) inputLen >> 29); in PHP_RIPEMD128Update() 365 context->count[1]++; in PHP_RIPEMD256Update() 367 context->count[1] += ((uint32_t) inputLen >> 29); in PHP_RIPEMD256Update() 464 context->count[1]++; in PHP_RIPEMD160Update() 466 context->count[1] += ((uint32_t) inputLen >> 29); in PHP_RIPEMD160Update() [all …]
|
H A D | php_hash_sha.h | 38 uint32_t count[2]; /* number of bits, modulo 2^64 */ member 54 uint32_t count[2]; /* number of bits, modulo 2^64 */ member 65 uint32_t count[2]; /* number of bits, modulo 2^64 */ member 76 uint64_t count[2]; /* number of bits, modulo 2^128 */ member 87 uint64_t count[2]; /* number of bits, modulo 2^128 */ member
|
H A D | php_hash_ripemd.h | 26 uint32_t count[2]; /* number of bits, modulo 2^64 (lsb first) */ member 32 uint32_t count[2]; /* number of bits, modulo 2^64 (lsb first) */ member 38 uint32_t count[2]; /* number of bits, modulo 2^64 (lsb first) */ member 44 uint32_t count[2]; /* number of bits, modulo 2^64 (lsb first) */ member
|
/PHP-7.3/ext/standard/tests/strings/ |
H A D | chunk_split_variation13.phpt | 24 for($count = 0; $count < count($values); $count++) { 25 echo "-- Iteration $count --\n"; 26 var_dump( chunk_split($values[$count]) );
|
/PHP-7.3/ext/standard/tests/math/ |
H A D | log.phpt | 6 for ($x = 0, $count= 0; $x < 200; $x++) { 10 $count++; 15 print $count . "\n"; 19 for ($x = 0, $count= 0; $x < 50; $x++) { 23 $count++; 28 print $count . "\n";
|
/PHP-7.3/ext/mbstring/ucgendat/ |
H A D | ucgendat.php | 268 if (count($fields) != 4) { 300 if (count($caseCodes) == 1) { 314 if (count($caseCodes) > 3) { 323 if (count($fields) != 5 && count($fields) != 6) { 348 if (count($fields) != 2) { 358 if (count($range) == 2) { 371 $c = count($values); 399 $num = count($ranges); 475 echo "$name: n=", count($table), ", g=", count($gTable), "\n"; 540 $tableSize = count($map); [all …]
|
/PHP-7.3/ext/simplexml/tests/ |
H A D | 036.phpt | 2 SimpleXML: overriden count() method 8 public function count() { 10 return parent::count(); 16 var_dump(count($sxe));
|
/PHP-7.3/ext/pcre/pcre2lib/ |
H A D | pcre2_dfa_match.c | 740 int count; in internal_dfa_match() local 769 active_states[j].count == current_state->count) in internal_dfa_match() 1252 count = current_state->count; /* Already matched */ in internal_dfa_match() 1511 count = current_state->count; /* Already matched */ in internal_dfa_match() 1523 count++; in internal_dfa_match() 1533 count = current_state->count; /* Already matched */ in internal_dfa_match() 1575 count = current_state->count; /* Already matched */ in internal_dfa_match() 1608 count = current_state->count; /* Already matched */ in internal_dfa_match() 1642 count = 4; in internal_dfa_match() 1648 count = 0; in internal_dfa_match() [all …]
|
H A D | pcre2_substring.c | 319 int count = match_data->rc; in pcre2_substring_length_bynumber() local 320 if (count == PCRE2_ERROR_PARTIAL) in pcre2_substring_length_bynumber() 323 count = 0; in pcre2_substring_length_bynumber() 325 else if (count < 0) return count; /* Match failed */ in pcre2_substring_length_bynumber() 339 if (count != 0 && stringnumber >= (uint32_t)count) return PCRE2_ERROR_UNSET; in pcre2_substring_length_bynumber() 375 int i, count, count2; in pcre2_substring_list_get() local 383 if ((count = match_data->rc) < 0) return count; /* Match failed */ in pcre2_substring_list_get() 384 if (count == 0) count = match_data->oveccount; /* Ovector too small */ in pcre2_substring_list_get() 386 count2 = 2*count; in pcre2_substring_list_get() 401 lensp = (PCRE2_SIZE *)((char *)listp + sizeof(PCRE2_UCHAR *) * (count + 1)); in pcre2_substring_list_get() [all …]
|
/PHP-7.3/ext/spl/tests/ |
H A D | bug42364.phpt | 7 $count = 0; 10 $count++; 17 if ($count > 0) { 18 echo "Found $count entries!\n";
|
H A D | dit_003.phpt | 5 $count = 0; 8 ++$count; 10 var_dump($count > 0);
|
/PHP-7.3/ext/intl/tests/ |
H A D | bug75090.phpt | 14 count($fooRef->getConstants()) === count($intlCalendarRef->getConstants()), 15 count($intlGregorianCalendarRef->getConstants()) === count($intlCalendarRef->getConstants())
|