/PHP-5.5/Zend/ |
H A D | zend_llist.c | 75 (current)->prev->next = (current)->next;\ 80 (current)->next->prev = (current)->prev;\ 95 while (current) { in zend_llist_del_element() 100 current = current->next; in zend_llist_del_element() 115 current = next; in zend_llist_destroy() 263 if (*current) { in zend_llist_get_first_ex() 276 if (*current) { in zend_llist_get_last_ex() 288 if (*current) { in zend_llist_get_next_ex() 289 *current = (*current)->next; in zend_llist_get_next_ex() 302 if (*current) { in zend_llist_get_prev_ex() [all …]
|
H A D | zend_dynamic_array.c | 27 unsigned int current; member 35 da->current = 0; in zend_dynamic_array_init() 45 if (da->current == da->allocated) { in zend_dynamic_array_push() 49 return (void *)(da->array+(da->current++)*da->element_size); in zend_dynamic_array_push() 54 return (void *)(da->array+(--(da->current))*da->element_size); in zend_dynamic_array_pop() 60 if (index >= da->current) { in zend_dynamic_array_get_element()
|
/PHP-5.5/ext/standard/ |
H A D | base64.c | 58 const unsigned char *current = str; in php_base64_encode() local 73 *p++ = base64_table[current[0] >> 2]; in php_base64_encode() 74 *p++ = base64_table[((current[0] & 0x03) << 4) + (current[1] >> 4)]; in php_base64_encode() 75 *p++ = base64_table[((current[1] & 0x0f) << 2) + (current[2] >> 6)]; in php_base64_encode() 76 *p++ = base64_table[current[2] & 0x3f]; in php_base64_encode() 78 current += 3; in php_base64_encode() 84 *p++ = base64_table[current[0] >> 2]; in php_base64_encode() 86 *p++ = base64_table[((current[0] & 0x03) << 4) + (current[1] >> 4)]; in php_base64_encode() 145 const unsigned char *current = str; in php_base64_decode_ex() local 157 while (isspace(*(++current))) { in php_base64_decode_ex() [all …]
|
/PHP-5.5/ext/standard/tests/array/ |
H A D | current_error.phpt | 2 Test current() function : error conditions - Pass incorrect number of args 5 /* Prototype : mixed current(array $array_arg) 12 * Pass incorrect number of arguments to current() to test behaviour 15 echo "*** Testing current() : error conditions ***\n"; 18 echo "\n-- Testing current() function with Zero arguments --\n"; 19 var_dump( current() ); 21 //Test current with one more than the expected number of arguments 25 var_dump( current($array_arg, $extra_arg) ); 29 *** Testing current() : error conditions *** 31 -- Testing current() function with Zero arguments -- [all …]
|
H A D | current_basic.phpt | 2 Test current() function : basic functionality 5 /* Prototype : mixed current(array $array_arg) 11 * Test basic functionality of current() 14 echo "*** Testing current() : basic functionality ***\n"; 17 var_dump(current($array)); 19 var_dump(current($array)); 21 var_dump(current($array)); 23 var_dump(current($array)); 27 *** Testing current() : basic functionality ***
|
H A D | current_variation1.phpt | 2 Test current() function : usage variations - Pass different data types as $array_arg arg 5 /* Prototype : mixed current(array $array_arg) 12 * Pass different data types as $array_arg argument to current() to test behaviour 15 echo "*** Testing current() : usage variations ***\n"; 86 // loop through each element of $inputs to check the behavior of current() 90 var_dump( current($input) ); 98 *** Testing current() : usage variations *** 147 Warning: current() expects parameter 1 to be array, null given in %s on line %d 152 Warning: current() expects parameter 1 to be array, null given in %s on line %d 205 Warning: current() expects parameter 1 to be array, null given in %s on line %d [all …]
|
H A D | current_variation4.phpt | 2 Test current() function : usage variations - multi-dimensional arrays 5 /* Prototype : mixed current(array $array_arg) 15 echo "*** Testing current() : usage variations ***\n"; 20 var_dump(current($multi_array)); 24 var_dump(current($multi_array)); 28 var_dump(current($multi_array)); 33 var_dump(current($multi_array[1])); 41 var_dump(current($multi_array)); 44 var_dump(current($multi_array[3][3][3])); 46 var_dump(current($multi_array[3][3][3][1])); [all …]
|
H A D | current_variation5.phpt | 2 Test current() function : usage variations - reference & normal parameters 5 /* Prototype : mixed current(array $array_arg) 11 echo "*** Testing current() : usage variations ***\n"; 17 var_dump(current($a)); 23 var_dump(current($a)); 31 var_dump(current($a)); 37 var_dump(current($a)); 45 *** Testing current() : usage variations ***
|
/PHP-5.5/ext/spl/tests/ |
H A D | iterator_007.phpt | 18 function current() 21 return parent::current(); 47 function current() 50 return parent::current(); 104 ArrayIteratorEx::current 108 ArrayIteratorEx::current 112 ArrayIteratorEx::current 116 ArrayIteratorEx::current 129 ArrayIteratorEx::current 136 ArrayIteratorEx::current [all …]
|
H A D | iterator_001.phpt | 36 public function current() 100 NumericArrayIterator::current 103 NumericArrayIterator::current 107 NumericArrayIterator::current 110 NumericArrayIterator::current 114 NumericArrayIterator::current 117 NumericArrayIterator::current 125 NumericArrayIterator::current 128 NumericArrayIterator::current 132 NumericArrayIterator::current [all …]
|
H A D | iterator_008.phpt | 18 function current() 21 return parent::current(); 52 ArrayIteratorEx::current 57 ArrayIteratorEx::current 62 ArrayIteratorEx::current 69 ArrayIteratorEx::current 74 ArrayIteratorEx::current 79 ArrayIteratorEx::current 86 ArrayIteratorEx::current
|
H A D | bug68557.phpt | 12 $path0 = $d->current()->getPathname(); 15 $path1 = $d->current()->getPathname(); 18 $path2 = $d->current()->getPathname(); 21 var_dump($path0 === $d->current()->getPathname()); 24 var_dump($path1 === $d->current()->getPathname()); 27 var_dump($path2 === $d->current()->getPathname()); 30 var_dump($path0 === $d->current()->getPathname());
|
H A D | fixedarray_019.phpt | 18 public function current() { 19 echo "current\n"; 20 return parent::current(); 37 current 42 current 47 current
|
H A D | dllist_010.phpt | 14 var_dump($dll->current()); 16 var_dump($dll->current()); 18 var_dump($dll->current()); 21 var_dump($dll->current()); 23 var_dump($dll->current());
|
H A D | iterator_004.phpt | 36 public function current() 79 print $l->current() . "\n"; 92 NumericArrayIterator::current 97 NumericArrayIterator::current 102 NumericArrayIterator::current 111 NumericArrayIterator::current 116 NumericArrayIterator::current 121 NumericArrayIterator::current 129 NumericArrayIterator::current 134 NumericArrayIterator::current [all …]
|
/PHP-5.5/ext/spl/internal/ |
H A D | regexiterator.inc | 38 private $current; /**< the value used for current() */ 72 $this->current = parent::current(); 73 /* note that we use $this->current, rather than calling parent::current() */ 81 $this->current = array(); 85 $this->current = array(); 89 $this->current = array(); 93 $this->current = array(); 101 $this->current = $result; 115 function current() 117 return $this->current; [all …]
|
/PHP-5.5/tests/classes/ |
H A D | iterators_001.phpt | 95 c_iter::current 99 c_iter::current 103 c_iter::current 111 c_iter::current 115 c_iter::current 119 c_iter::current 127 c_iter::current 131 c_iter::current 135 c_iter::current 139 c_iter::current [all …]
|
H A D | iterators_003.phpt | 24 function current() { 78 c_iter::current 82 c_iter::current 87 c_iter::current 91 c_iter::current 95 c_iter::current 99 c_iter::current 104 c_iter::current 108 c_iter::current 112 c_iter::current
|
/PHP-5.5/ext/dom/tests/ |
H A D | DOMNode_removeChild_basic.phpt | 30 function dumpcourse($current) { 31 …$title = ($current->nodeType != XML_TEXT_NODE && $current->hasAttribute('title')) ? $current->getA… 32 echo "Course: $title:";echo get_class($current), "\n"; 33 echo "~";var_dump($current->textContent); 45 $current = $children->item($index); 46 dumpcourse($current); 47 if ($current->nodeType == XML_TEXT_NODE) { 48 $noderemoved = $root->removeChild($current); 56 $current = $children->item($index); 57 dumpcourse($current);
|
/PHP-5.5/Zend/tests/ |
H A D | bug38808.phpt | 2 Bug #38808 ("maybe ref" issue for current() and others) 5 $current = "current"; 11 echo $current($a)."\n"; 13 echo $current($a)."\n";
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | ftruncate_variation2.phpt | 2 Test ftruncate() function : usage variations - truncate file to current size 57 var_dump( filesize($filename) ); // current filesize 77 -- Testing ftruncate(): truncate file to size = current size -- 85 -- Testing ftruncate(): truncate file to size = current size -- 93 -- Testing ftruncate(): truncate file to size = current size -- 101 -- Testing ftruncate(): truncate file to size = current size -- 109 -- Testing ftruncate(): truncate file to size = current size -- 117 -- Testing ftruncate(): truncate file to size = current size -- 125 -- Testing ftruncate(): truncate file to size = current size -- 133 -- Testing ftruncate(): truncate file to size = current size -- [all …]
|
H A D | ftruncate_variation2-win32.phpt | 2 Test ftruncate() function : usage variations - truncate file to current size 57 var_dump( filesize($filename) ); // current filesize 77 -- Testing ftruncate(): truncate file to size = current size -- 85 -- Testing ftruncate(): truncate file to size = current size -- 93 -- Testing ftruncate(): truncate file to size = current size -- 101 -- Testing ftruncate(): truncate file to size = current size -- 109 -- Testing ftruncate(): truncate file to size = current size -- 117 -- Testing ftruncate(): truncate file to size = current size -- 125 -- Testing ftruncate(): truncate file to size = current size -- 133 -- Testing ftruncate(): truncate file to size = current size -- [all …]
|
H A D | ftruncate_variation3-win32.phpt | 54 /* truncate it to half of its current size */ 56 var_dump( filesize($filename) ); // current filesize 76 -- Testing ftruncate(): truncate file to half of its current size -- 84 -- Testing ftruncate(): truncate file to half of its current size -- 92 -- Testing ftruncate(): truncate file to half of its current size -- 100 -- Testing ftruncate(): truncate file to half of its current size -- 108 -- Testing ftruncate(): truncate file to half of its current size -- 116 -- Testing ftruncate(): truncate file to half of its current size -- 124 -- Testing ftruncate(): truncate file to half of its current size -- 132 -- Testing ftruncate(): truncate file to half of its current size -- [all …]
|
H A D | ftruncate_variation3.phpt | 54 /* truncate it to half of its current size */ 56 var_dump( filesize($filename) ); // current filesize 76 -- Testing ftruncate(): truncate file to half of its current size -- 84 -- Testing ftruncate(): truncate file to half of its current size -- 92 -- Testing ftruncate(): truncate file to half of its current size -- 100 -- Testing ftruncate(): truncate file to half of its current size -- 108 -- Testing ftruncate(): truncate file to half of its current size -- 116 -- Testing ftruncate(): truncate file to half of its current size -- 124 -- Testing ftruncate(): truncate file to half of its current size -- 132 -- Testing ftruncate(): truncate file to half of its current size -- [all …]
|
/PHP-5.5/ext/date/tests/ |
H A D | date_time_immutable.phpt | 8 $current = "2012-12-27 16:24:08"; 18 $v = date_create_immutable($current); 22 $v = date_create($current); 28 $v = date_create_immutable($current); 32 $v = date_create($current); 42 $v = date_create($current); 52 $v = date_create($current); 66 $v = date_create($current); 76 $v = date_create($current); 86 $v = date_create($current); [all …]
|