/PHP-7.2/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-7.2/ext/standard/tests/array/ |
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 ***
|
H A D | current_variation3.phpt | 2 Test current() function : usage variations - referenced variables 5 /* Prototype : mixed current(array $array_arg) 15 echo "*** Testing current() : usage variations ***\n"; 20 var_dump(current($array1)); 28 var_dump(current($array1)); 30 var_dump(current($array2)); 34 *** Testing current() : usage variations ***
|
/PHP-7.2/ext/spl/tests/ |
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 …]
|
H A D | fixedarray_003.phpt | 9 public function current() { 10 echo "A::current\n"; 11 return parent::current(); 63 A::current 68 A::current 73 A::current 78 A::current 83 A::current
|
H A D | SplFixedArray_current_param.phpt | 2 SplFixedArray::current() with a parameter. *BUG* 15 echo $array->current( array("this","should","not","execute") ); 20 Warning: SplFixedArray::current() expects exactly 0 parameters, 1 given in %s on line %d 22 Warning: SplFixedArray::current() expects exactly 0 parameters, 1 given in %s on line %d 24 Warning: SplFixedArray::current() expects exactly 0 parameters, 1 given in %s on line %d
|
H A D | iterator_023.phpt | 11 return $this->current(); 58 function current() 61 return parent::current(); 134 RecursiveArrayIteratorIterator::current 140 RecursiveArrayIteratorIterator::current 144 RecursiveArrayIteratorIterator::current 150 RecursiveArrayIteratorIterator::current 154 RecursiveArrayIteratorIterator::current 160 RecursiveArrayIteratorIterator::current 168 RecursiveArrayIteratorIterator::current [all …]
|
H A D | iterator_014.phpt | 42 function current() 45 return parent::current(); 81 RecursiveArrayIteratorIterator::current 88 RecursiveArrayIteratorIterator::current 95 RecursiveArrayIteratorIterator::current 100 RecursiveArrayIteratorIterator::current 111 RecursiveArrayIteratorIterator::current 124 RecursiveArrayIteratorIterator::current 131 RecursiveArrayIteratorIterator::current
|
H A D | iterator_022.phpt | 11 return $this->current(); 58 function current() 61 return parent::current(); 134 RecursiveArrayIteratorIterator::current 140 RecursiveArrayIteratorIterator::current 144 RecursiveArrayIteratorIterator::current 150 RecursiveArrayIteratorIterator::current 154 RecursiveArrayIteratorIterator::current 160 RecursiveArrayIteratorIterator::current 168 RecursiveArrayIteratorIterator::current [all …]
|
/PHP-7.2/ext/standard/tests/file/ |
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_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_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-7.2/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 …]
|
/PHP-7.2/tests/classes/ |
H A D | iterators_003.phpt | 22 function current() { 76 c_iter::current 80 c_iter::current 85 c_iter::current 89 c_iter::current 93 c_iter::current 97 c_iter::current 102 c_iter::current 106 c_iter::current 110 c_iter::current
|
/PHP-7.2/ext/intl/resourcebundle/ |
H A D | resourcebundle_iterator.c | 44 resourcebundle_extract_value( &iterator->current, rb ); in resourcebundle_iterator_read() 48 ZVAL_UNDEF(&iterator->current); in resourcebundle_iterator_read() 58 if (!Z_ISUNDEF(iterator->current)) { in resourcebundle_iterator_invalidate() 59 zval_ptr_dtor( &iterator->current ); in resourcebundle_iterator_invalidate() 60 ZVAL_UNDEF(&iterator->current); in resourcebundle_iterator_invalidate() 93 if (Z_ISUNDEF(iterator->current)) { in resourcebundle_iterator_current() 96 return &iterator->current; in resourcebundle_iterator_current() 105 if (Z_ISUNDEF(iterator->current)) { in resourcebundle_iterator_key() 171 ZVAL_UNDEF(&iterator->current); in resourcebundle_get_iterator()
|
/PHP-7.2/ext/phar/tests/ |
H A D | phar_buildfromiterator4.phpt | 21 function current() { 22 echo "current\n"; 23 return current($this->a); 31 return current($this->a); 63 current 67 current 71 current 75 current
|
/PHP-7.2/ext/spl/examples/ |
H A D | callbackfilteriterator.inc | 33 private $current; /**< current value */ 56 $this->current = parent::current(); 66 return (bool) call_user_func($this->callback, &$this->current); 68 return (bool) call_user_func($this->callback, $this->current); 78 return (bool) call_user_func($this->callback, &$this->key, &$this->current); 80 return (bool) call_user_func($this->callback, $this->key, $this->current); 85 /** @return current key value */ 91 /** @return current value */ 92 function current() 94 return $this->current;
|
/PHP-7.2/tests/lang/ |
H A D | foreachLoopIteratorAggregate.001.phpt | 27 public function current() { 63 public function current() { 169 --> EnglishMealIterator::current (0) 174 --> EnglishMealIterator::current (1) 179 --> EnglishMealIterator::current (2) 188 --> FrenchMealIterator::current (0) 193 --> FrenchMealIterator::current (1) 198 --> FrenchMealIterator::current (2) 203 --> FrenchMealIterator::current (3) 215 --> EnglishMealIterator::current (0) [all …]
|
H A D | foreachLoopIteratorAggregate.003.phpt | 27 public function current() { 80 --> EnglishMealIterator::current (0) 85 --> EnglishMealIterator::current (1) 90 --> EnglishMealIterator::current (2) 99 --> EnglishMealIterator::current (0) 104 --> EnglishMealIterator::current (1) 109 --> EnglishMealIterator::current (2) 118 --> EnglishMealIterator::current (0) 123 --> EnglishMealIterator::current (1) 128 --> EnglishMealIterator::current (2)
|
/PHP-7.2/Zend/ |
H A D | zend_gc.c | 596 current = current->next; in gc_mark_roots() 706 current = current->next; in gc_scan_roots() 916 current = next; 924 current = current->next; 1126 current->refcount = GC_REFCOUNT(current->ref); 1127 current = current->next; 1157 if (GC_REFCOUNT(current->ref) > current->refcount) { 1158 gc_remove_nested_data_from_buffer(current->ref, current); 1169 p = current->ref; 1205 p = current->ref; [all …]
|
/PHP-7.2/ext/dom/tests/ |
H A D | DOMNode_cloneNode_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); 44 $current = $children->item($index); 45 if ($current->nodeType == XML_TEXT_NODE) { 46 $noderemoved = $root->removeChild($current);
|