/PHP-7.1/ext/phar/tests/ |
H A D | phar_buildfromiterator3.phpt | 21 function current() { 22 echo "current\n"; 23 return current($this->a); 31 return current($this->a);
|
/PHP-7.1/ext/standard/ |
H A D | scanf.c | 587 zval *current; in php_sscanf_internal() local 744 current = Z_REFVAL(args[objIndex++]); in php_sscanf_internal() 745 zval_ptr_dtor(current); in php_sscanf_internal() 864 zval_ptr_dtor(current); in php_sscanf_internal() 905 zval_ptr_dtor(current); in php_sscanf_internal() 1059 zval_ptr_dtor(current); in php_sscanf_internal() 1060 ZVAL_STRING(current, buf); in php_sscanf_internal() 1069 zval_ptr_dtor(current); in php_sscanf_internal() 1070 ZVAL_LONG(current, value); in php_sscanf_internal() 1174 zval_ptr_dtor(current); in php_sscanf_internal() [all …]
|
/PHP-7.1/ext/intl/common/ |
H A D | common_enum.cpp | 62 return Z_ISUNDEF(((zoi_with_current*)iter)->current)? FAILURE : SUCCESS; in zoi_with_current_valid() 67 return &((zoi_with_current*)iter)->current; in zoi_with_current_get_current_data() 73 if (!Z_ISUNDEF(zoi_iter->current)) { in zoi_with_current_invalidate_current() 74 zval_ptr_dtor(&zoi_iter->current); in zoi_with_current_invalidate_current() 75 ZVAL_UNDEF(&zoi_iter->current); //valid would return FAILURE now in zoi_with_current_invalidate_current() 98 ZVAL_STRINGL(&zoi_iter->current, result, result_length); in string_enum_current_move_forward() 107 if (!Z_ISUNDEF(zoi_iter->current)) { in string_enum_rewind() 152 ZVAL_UNDEF(&((zoi_with_current*)ii->iterator)->current); in IntlIterator_from_StringEnumeration() 208 static PHP_METHOD(IntlIterator, current) in PHP_METHOD() argument 300 PHP_ME(IntlIterator, current, ainfo_se_void, ZEND_ACC_PUBLIC)
|
/PHP-7.1/ext/spl/tests/ |
H A D | bug42703.phpt | 2 Bug #42703 (Exception raised in an iterator::current() causes segfault in FilterIterator) 15 public function current() 35 var_dump($itit->current());
|
H A D | iterator_002.phpt | 10 return is_array($this->current()); 15 return new RecursiceArrayIterator($this->current()); 33 return new RecursiceArrayIterator($this->getInnerIterator()->current());
|
H A D | SplDoublyLinkedList_current_empty.phpt | 2 Run current() function on an empty SplDoublyLinkedList. 9 var_dump($list->current());
|
H A D | SplObjectStorage_current_empty_storage.phpt | 2 Check that SplObjectStorage::current returns NULL when storage is empty 10 var_dump($s->current());
|
H A D | pqueue_current_error.phpt | 2 SPL: SplPriorityQueue current on empty queue should give null 9 var_dump($h->current());
|
H A D | arrayObject_getIteratorClass_basic1.phpt | 24 function current() { 27 return parent::current(); 80 In MyIterator::current() 85 In MyIterator::current() 90 In MyIterator::current()
|
H A D | bug47534.phpt | 7 echo gettype($it1->current())."\n"; 11 echo gettype($it2->current())."\n";
|
H A D | SplFileObject_current_basic.phpt | 2 SPL: SplFileObject::current basic 14 echo $s->current();
|
/PHP-7.1/ext/dom/tests/ |
H A D | dom_comment_basic.phpt | 25 $current = $children->item($index); 26 echo get_class($current), "\n"; 27 var_dump($current->textContent);
|
/PHP-7.1/Zend/tests/ |
H A D | bug32993.phpt | 2 Bug #32993 (implemented Iterator function current() don't throw exception) 10 public function current() { throw new Exception(); } 13 public function valid() { return (current($this->arr) !== false); }
|
/PHP-7.1/ext/xmlrpc/libxmlrpc/ |
H A D | xml_element.c | 588 xml_element* current; member 602 c = mydata->current; in _xmlrpc_startElement() 604 mydata->current = xml_elem_new(); in _xmlrpc_startElement() 605 mydata->current->name = (char*)strdup(name); in _xmlrpc_startElement() 606 mydata->current->parent = c; in _xmlrpc_startElement() 614 Q_PushTail(&mydata->current->attrs, attr); in _xmlrpc_startElement() 627 if(mydata && mydata->current && mydata->current->parent) { in _xmlrpc_endElement() 628 Q_PushTail(&mydata->current->parent->children, mydata->current); in _xmlrpc_endElement() 630 mydata->current = mydata->current->parent; in _xmlrpc_endElement() 640 if(mydata && mydata->current) { in _xmlrpc_charHandler() [all …]
|
/PHP-7.1/ext/posix/tests/ |
H A D | posix_getsid.phpt | 4 Get the current session id of a process pid (POSIX.1, 4.2.1) 18 echo "\n-- Testing posix_getsid() function with current process pid --\n"; 26 -- Testing posix_getsid() function with current process pid --
|
/PHP-7.1/tests/lang/ |
H A D | foreachLoopObjects.005.phpt | 2 Foreach loop tests - removing properties before and after the current property during the loop. 14 echo "\nRemoving properties before the current element from an iterated object.\n"; 29 echo "\nRemoving properties before the current element from an iterated object.\n"; 46 Removing properties before the current element from an iterated object. 62 Removing properties before the current element from an iterated object.
|
/PHP-7.1/ext/spl/internal/ |
H A D | recursiveiteratoriterator.inc | 89 /** @return current key 97 /** @return current element 99 function current() 102 return $it->current(); 156 /** @return Sub Iterator at given level or if unspecified the current sub 182 /** @return whether current sub iterators current element has children 190 /** @return current sub iterators current children 205 /** Called after current child iterator is invalid and right before it
|
H A D | filteriterator.inc | 23 * method accept(). Typically this invloves reading the current element or 51 * @return whether or not to expose the current element of the inner 88 * @return The current key 95 * @return The current value 97 function current() { 98 return $this->it->current();
|
/PHP-7.1/ext/intl/tests/ |
H A D | breakiter_first_last_previous_current_error.phpt | 2 IntlBreakIterator::first()/last()/previous()/current(): arg errors 17 var_dump($bi->current(1)); 34 Warning: IntlBreakIterator::current() expects exactly 0 parameters, 1 given in %s on line %d 36 Warning: IntlBreakIterator::current(): breakiter_current: bad arguments in %s on line %d
|
/PHP-7.1/ext/standard/tests/array/ |
H A D | next_basic.phpt | 17 echo key($array) . " => " . current($array) . "\n"; 20 echo key($array) . " => " . current($array) . "\n"; 23 echo key($array) . " => " . current($array) . "\n";
|
H A D | bug62607.phpt | 6 echo 'Before -> '.current($arr).PHP_EOL; 8 echo 'After -> '.current($arr);
|
/PHP-7.1/tests/classes/ |
H A D | iterators_008.phpt | 25 public function current() { 40 D::current(2) 43 D::current(1)
|
/PHP-7.1/ext/spl/examples/ |
H A D | inigroups.inc | 23 * relation. Doing so both current() and key() methods must be overwritten. 40 * @return The current group. 42 function current() { 47 * @return The current group.
|
/PHP-7.1/ext/standard/tests/network/ |
H A D | setcookie.phpt | 46 if (strncmp(current($headers), 'Set-Cookie:', 11) !== 0) 51 if (current($headers) === current($expected)) 58 .current($expected) 59 ."\n\tReceived: ".current($headers)."\n";
|
/PHP-7.1/Zend/tests/generators/ |
H A D | get_return.phpt | 21 var_dump($gen->current()); 34 var_dump($gen->current()); 46 var_dump($gen->current()); 56 var_dump($gen->current());
|