Home
last modified time | relevance | path

Searched refs:current (Results 1 – 25 of 648) sorted by relevance

12345678910>>...26

/PHP-7.1/Zend/
H A Dzend_llist.c74 (current)->prev->next = (current)->next;\
79 (current)->next->prev = (current)->prev;\
94 while (current) { in zend_llist_del_element()
99 current = current->next; in zend_llist_del_element()
114 current = next; in zend_llist_destroy()
265 if (*current) { in zend_llist_get_first_ex()
278 if (*current) { in zend_llist_get_last_ex()
290 if (*current) { in zend_llist_get_next_ex()
291 *current = (*current)->next; in zend_llist_get_next_ex()
304 if (*current) { in zend_llist_get_prev_ex()
[all …]
/PHP-7.1/ext/standard/tests/array/
H A Dcurrent_error.phpt2 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 Darray_replace_merge_recursive_ref.phpt10 var_dump(current($one), current($two));
12 var_dump(current($one), current($two));
18 var_dump(current($one), current($two));
20 var_dump(current($one), current($two));
H A Dcurrent_basic.phpt2 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 Dcurrent_variation1.phpt2 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 ***
122 Warning: current() expects parameter 1 to be array, float given in %s on line %d
127 Warning: current() expects parameter 1 to be array, float given in %s on line %d
147 Warning: current() expects parameter 1 to be array, null given in %s on line %d
[all …]
H A Dcurrent_variation4.phpt2 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 Dcurrent_variation5.phpt2 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-7.1/ext/standard/
H A Dbase64.c58 const unsigned char *current = str; in php_base64_encode() local
66 *p++ = base64_table[current[0] >> 2]; in php_base64_encode()
67 *p++ = base64_table[((current[0] & 0x03) << 4) + (current[1] >> 4)]; in php_base64_encode()
68 *p++ = base64_table[((current[1] & 0x0f) << 2) + (current[2] >> 6)]; in php_base64_encode()
69 *p++ = base64_table[current[2] & 0x3f]; in php_base64_encode()
71 current += 3; in php_base64_encode()
77 *p++ = base64_table[current[0] >> 2]; in php_base64_encode()
79 *p++ = base64_table[((current[0] & 0x03) << 4) + (current[1] >> 4)]; in php_base64_encode()
80 *p++ = base64_table[(current[1] & 0x0f) << 2]; in php_base64_encode()
138 const unsigned char *current = str; in php_base64_decode_ex() local
[all …]
/PHP-7.1/ext/spl/tests/
H A Diterator_007.phpt18 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 Diterator_001.phpt36 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 Diterator_008.phpt18 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 Dbug68557.phpt12 $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 Dfixedarray_019.phpt18 public function current() {
19 echo "current\n";
20 return parent::current();
37 current
42 current
47 current
H A Ddllist_010.phpt14 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 Diterator_004.phpt36 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-7.1/ext/spl/internal/
H A Dregexiterator.inc38 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-7.1/tests/classes/
H A Diterators_001.phpt95 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 Diterators_003.phpt24 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-7.1/ext/dom/tests/
H A DDOMNode_removeChild_basic.phpt30 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-7.1/Zend/tests/
H A Dbug38808.phpt2 Bug #38808 ("maybe ref" issue for current() and others)
5 $current = "current";
11 echo $current($a)."\n";
13 echo $current($a)."\n";
/PHP-7.1/ext/standard/tests/file/
H A Dftruncate_variation2-win32.phpt2 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 Dftruncate_variation2.phpt2 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 Dftruncate_variation3-win32.phpt54 /* 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 Dftruncate_variation3.phpt54 /* 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-7.1/ext/date/tests/
H A Ddate_time_immutable.phpt8 $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 …]

Completed in 35 milliseconds

12345678910>>...26