/PHP-7.3/ext/standard/tests/array/ |
H A D | array_filter_variation3.phpt | 42 for($count = 0; $count < count($input_values); $count++) 44 echo "-- Iteration ".($count + 1). " --\n"; 45 var_dump( array_filter($input_values[$count]) ); 46 var_dump( array_filter($input_values[$count], 'always_true') ); 47 var_dump( array_filter($input_values[$count], 'always_false') );
|
/PHP-7.3/ext/dba/libcdb/ |
H A D | cdb_make.c | 145 uint32 count; in cdb_make_finish() local 151 c->count[i] = 0; in cdb_make_finish() 156 ++c->count[255 & x->hp[i].h]; in cdb_make_finish() 161 u = c->count[i] * 2; in cdb_make_finish() 182 u += c->count[i]; /* bounded by numentries, so no overflow */ in cdb_make_finish() 193 count = c->count[i]; in cdb_make_finish() 195 len = count + count; /* no overflow possible */ in cdb_make_finish() 203 for (u = 0;u < count;++u) { in cdb_make_finish()
|
/PHP-7.3/ext/standard/tests/strings/ |
H A D | strncasecmp_variation2.phpt | 21 $count = 1; 22 for($index1 = 0; $index1 < count($strings); $index1++) { 23 echo "-- Iteration $count --\n"; 24 for($index2 = 0; $index2 < count($strings); $index2++) { 27 $count ++;
|
H A D | strncmp_variation2.phpt | 21 $count = 1; 22 for($index1 = 0; $index1 < count($strings); $index1++) { 23 echo "-- Iteration $count --\n"; 24 for($index2 = 0; $index2 < count($strings); $index2++) { 27 $count ++;
|
H A D | str_ireplace.phpt | 12 var_dump(str_ireplace("tt", "a", "ttttTttttttttTT", $count)); 13 var_dump($count); 16 var_dump(str_ireplace("tt", "aa", "ttttTttttttttTT", $count)); 17 var_dump($count); 20 var_dump(str_ireplace("tt", "aaa", "ttttTttttttttTT", $count)); 21 var_dump($count); 24 var_dump(str_ireplace("tt", "aaa", "ttttTttttttttTT", $count)); 25 var_dump($count);
|
/PHP-7.3/ext/standard/tests/serialize/ |
H A D | bug37947.phpt | 8 function extend_zend_ptr_stack($count,$a,$b,$c,$d,$e) { 9 if ($count>0) $this->extend_zend_ptr_stack($count -
|
/PHP-7.3/ext/sysvsem/ |
H A D | sysvsem.c | 145 if (sem_ptr->count == -1 || !sem_ptr->auto_release) { 157 if (sem_ptr->count) { 160 sop[1].sem_op = sem_ptr->count; 203 int count; in PHP_FUNCTION() local 256 count = semctl(semid, SYSVSEM_USAGE, GETVAL, NULL); in PHP_FUNCTION() 257 if (count == -1) { in PHP_FUNCTION() 263 if (count == 1) { in PHP_FUNCTION() 299 sem_ptr->count = 0; in PHP_FUNCTION() 330 if (!acquire && sem_ptr->count == 0) { in php_sysvsem_semop() 348 sem_ptr->count -= acquire ? -1 : 1; in php_sysvsem_semop() [all …]
|
/PHP-7.3/ext/intl/tests/ |
H A D | timezone_createEnumeration_variation1.phpt | 12 $count = count(iterator_to_array($tz)); 13 var_dump($count > 20);
|
H A D | timezone_createEnumeration_variation2.phpt | 12 $count = count(iterator_to_array($tz)); 13 var_dump($count >= 1);
|
H A D | timezone_createTimeZoneIDEnumeration_variant2.phpt | 14 $countAny = count(iterator_to_array($enum)); 17 $countCanonical = count(iterator_to_array($enum)); 20 $countCanonicalLocation = count(iterator_to_array($enum)); 27 $countAny2 = count(iterator_to_array($enum));
|
/PHP-7.3/tests/classes/ |
H A D | factory_and_singleton_002.phpt | 45 static public function count() { 52 var_dump(test::count()); 58 var_dump(test::count()); 65 var_dump(test::count()); 71 var_dump(test::count()); 76 //var_dump(test::count());
|
/PHP-7.3/ext/spl/tests/ |
H A D | fixedarray_021.phpt | 6 /* empty count */ 9 var_dump(count($a)); 10 var_dump($a->count()); 35 var_dump(count($a)); 36 var_dump($a->count());
|
H A D | SplFixedArray_toArray_with-params.phpt | 15 // Test count() returns correct error when parameters are passed. 16 $fixedArray->count(1); 19 Warning: SplFixedArray::count() expects exactly 0 parameters, %d given in %s on line %d
|
H A D | observer_008.phpt | 21 var_dump($a->count()); 24 var_dump($a->count()); 27 var_dump($a->count());
|
/PHP-7.3/ext/ldap/tests/ |
H A D | ldap_read_basic.phpt | 34 ["count"]=> 40 ["count"]=> 51 ["count"]=> 58 ["count"]=>
|
H A D | ldap_rename_basic.phpt | 34 ["count"]=> 40 ["count"]=> 49 ["count"]=> 56 ["count"]=>
|
/PHP-7.3/ext/dom/ |
H A D | namednodemap.c | 78 PHP_FALIAS(count, dom_namednodemap_count, arginfo_dom_namednodemap_count) 93 int count = 0; in dom_namednodemap_length_read() local 101 count = xmlHashSize(objmap->ht); in dom_namednodemap_length_read() 108 count++; in dom_namednodemap_length_read() 110 count++; in dom_namednodemap_length_read() 118 ZVAL_LONG(retval, count); in dom_namednodemap_length_read() 213 int count; in PHP_FUNCTION() local 242 count = 0; in PHP_FUNCTION() 243 while (count < index && curnode != NULL) { in PHP_FUNCTION() 244 count++; in PHP_FUNCTION()
|
/PHP-7.3/ext/opcache/tests/ |
H A D | bug79412.phpt | 12 $count = 0; 14 ++$count; 15 if ($count >= $limitPerRun) {
|
/PHP-7.3/ext/pcre/ |
H A D | php_pcre.c | 1136 if (count >= 0) { in php_pcre_match_impl() 1140 count = num_subpats; in php_pcre_match_impl() 1346 if (count >= 0) { in php_pcre_match_impl() 1631 count = num_subpats; in php_pcre_replace_impl() 1668 if (backref < count) in php_pcre_replace_impl() 1887 count = num_subpats; in php_pcre_replace_func_impl() 2557 if (count >= 0) { in php_pcre_split_impl() 2561 count = num_subpats; in php_pcre_split_impl() 2617 if (count >= 0) { in php_pcre_split_impl() 2899 if (count >= 0) { in php_pcre_grep_impl() [all …]
|
/PHP-7.3/ext/standard/tests/streams/ |
H A D | bug46024.phpt | 22 var_dump($ret === (count($r) + count($w))); 29 var_dump($ret === (count($r) + count($w)));
|
/PHP-7.3/Zend/tests/ |
H A D | foreach_003.phpt | 7 private $count = 0; 10 function __construct($count, $trap = null) { 11 $this->count = $count; 22 function valid() {$this->trap(__FUNCTION__); return $this->n < $this->count;}
|
/PHP-7.3/ext/simplexml/tests/ |
H A D | 029.phpt | 2 SimpleXML: foreach and count 24 var_dump(count($people)); 25 var_dump(count($person));
|
/PHP-7.3/ext/dom/tests/ |
H A D | DOMNamedNodeMap_count.phpt | 2 Test count nodes in DOMNamedNodeMap 21 var_dump($root->attributes->count()); 22 var_dump(count($root->attributes));
|
H A D | DomNodeList_count.phpt | 2 Test count nodes in DOMNodeList 21 var_dump($root->childNodes->count()); 22 var_dump(count($root->childNodes));
|
/PHP-7.3/Zend/ |
H A D | zend_llist.c | 28 l->count = 0; in zend_llist_init() 48 ++l->count; in zend_llist_add_element() 66 ++l->count; in zend_llist_prepend_element() 85 --l->count; 115 l->count = 0; in zend_llist_destroy() 140 --l->count; in zend_llist_remove_tail() 201 if (l->count == 0) { in zend_llist_sort() 205 elements = (zend_llist_element **) emalloc(l->count * sizeof(zend_llist_element *)); in zend_llist_sort() 213 zend_sort(elements, l->count, sizeof(zend_llist_element *), in zend_llist_sort() 219 for (i = 1; i < l->count; i++) { in zend_llist_sort() [all …]
|