/PHP-5.6/ext/phar/tests/zip/ |
H A D | bug48791.phpt | 14 …list-style-name="L1"/><style:style style:name="T1" style:family="text"><style:text-properties styl…
|
/PHP-5.6/ext/spl/tests/ |
H A D | bug67538.phpt | 5 $list = new SplDoublyLinkedList(); 6 $list->push('a'); 7 $list->push('b'); 9 $list->rewind(); 10 $list->offsetUnset(0); 11 $list->push('b'); 12 $list->offsetUnset(0); 13 $list->next();
|
H A D | SplDoublyLinkedList_lifoMode.phpt | 7 $list = new SplDoublyLinkedList(); 9 $list->push('o'); 10 $list->push('o'); 11 $list->push('f'); 13 $list->setIteratorMode(SplDoublyLinkedList::IT_MODE_LIFO); 15 $list->rewind(); 17 while ($tmp = $list->current()) { 19 $list->next();
|
H A D | SplDoublylinkedlist_offsetunset_first002.phpt | 7 $list = new SplDoublyLinkedList(); 8 $list->push('oh'); 9 $list->push('hai'); 10 $list->push('thar'); 11 echo $list->bottom() . "\n"; 12 $list->offsetUnset(0); 13 echo $list->bottom() . "\n";
|
H A D | SplDoublyLinkedList_offsetExists_success.phpt | 7 $list = new SplDoublyLinkedList(); 9 // Push two values onto the list 10 $list->push('abc'); 11 $list->push('def'); 14 if($list->offsetExists(0) === true) { 19 if($list->offsetExists(1) === true) { 24 if($list->offsetExists(2) === false) {
|
H A D | SplDoublylinkedlist_offsetunset_first.phpt | 7 $list = new SplDoublyLinkedList(); 8 $list->push('oh'); 9 $list->push('hai'); 10 $list->push('thar'); 11 $list->offsetUnset(0); 12 var_dump($list);
|
H A D | SplDoublylinkedlist_offsetunset_last.phpt | 7 $list = new SplDoublyLinkedList(); 8 $list->push('oh'); 9 $list->push('hai'); 10 $list->push('thar'); 11 $list->offsetUnset(2); 12 var_dump($list);
|
H A D | bug67582.phpt | 13 $list = new MyObjectStorage(); 14 $list->attach(new TestObject()); 16 foreach($list as $x) var_dump($list->offsetExists($x)); 18 $list2 = clone $list;
|
H A D | SplDoublyLinkedList_getIteratorMode.phpt | 7 $list = new SplDoublyLinkedList(); 8 $list->setIteratorMode(SplDoublyLinkedList::IT_MODE_FIFO | SplDoublyLinkedList::IT_MODE_KEEP); 9 echo $list->getIteratorMode();
|
/PHP-5.6/Zend/tests/ |
H A D | foreach_list_001.phpt | 2 foreach with list syntax 6 foreach(array(array(1,2), array(3,4)) as list($a, $b)) { 15 foreach ($array as list($a, $b)) { 25 foreach ($multi as list(list($a, $b), list($c, $d))) { 29 foreach ($multi as $key => list(list($a, $b), list($c, $d))) {
|
H A D | list_003.phpt | 2 list() with non-array 6 list($a) = NULL; 8 list($b) = 1; 10 list($c) = 1.; 12 list($d) = 'foo'; 14 list($e) = print '';
|
H A D | foreach_list_003.phpt | 2 foreach with list key 8 foreach($array as list($key) => list(list(), $a)) { 13 Fatal error: Cannot use list as key element in %sforeach_list_003.php on line %d
|
H A D | list_006.phpt | 2 Testing nested list() with empty array 6 list($a, list($b, list(list($d)))) = array();
|
H A D | list_005.phpt | 2 Testing list() with several variables 8 list($a, $b, $c) = $a; 16 list($a, $b, $c) = $a; 24 list($a, $b, $c) = $a; 32 list($a, $b, $c) = $a;
|
H A D | list_001.phpt | 2 "Nested" list() 6 list($a, list($b)) = array(new stdclass, array(new stdclass));
|
H A D | bug40899.phpt | 2 Bug #40899 (memory leak when nesting list()) 5 list(list($a,$b),$c)=array(array('a','b'),'c');
|
H A D | foreach_list_004.phpt | 2 foreach with empty list 8 foreach($array as $key => list()) { 13 Fatal error: Cannot use empty list in %sforeach_list_004.php on line %d
|
H A D | bug60169.phpt | 2 Bug #60169 (Conjunction of ternary and list crashes PHP) 7 list($a,$b) = is_array($arr)? $arr : $arr; 8 list($c,$d) = is_array($arr)?: NULL;
|
H A D | list_002.phpt | 2 Testing full-reference on list() 11 list($a, list($b)) = array($a, array($b));
|
/PHP-5.6/tests/lang/ |
H A D | engine_assignExecutionOrder_002.phpt | 8 list($a,,$b) = $f; 29 list($e[$f++],$e[$f++]) = $g[$f]; 41 // a list of lists 42 list(list($j[$h++],$j[$h++]),$j[$h++]) = $i[$h]; 49 list(list($l,$m),$n) = $k; 54 list($o,$p) = 20; 58 // list of lists with blanks and nulls expect 10 20 40 50 60 70 80 64 list(list(list($r,$s,,$t),list($u,$v),,$w),,$x) = $q4; 69 list($y,$z) = array(); 73 list($aa,$bb) = array(10); [all …]
|
H A D | 031.phpt | 11 while(list(,$o) = each($arrayOuter)){ 13 while(list(,$i) = each($arrayInner)){ 22 while(list(,$o) = each($arrayOuter)){ 23 while(list(,$i) = each($arrayInner)){ 32 while(list(,$o) = each($arrayOuter)){ 34 while(list(,$i) = each($arrayInner)){ 43 while(list(,$o) = each($arrayOuter)){ 45 while(list(,$i) = each($placeholder)){
|
/PHP-5.6/ext/spl/ |
H A D | spl_functions.c | 80 void spl_add_class_name(zval *list, zend_class_entry * pce, int allow, int ce_flags TSRMLS_DC) in spl_add_class_name() argument 86 if (zend_hash_find(Z_ARRVAL_P(list), pce->name, len+1, (void*)&tmp) == FAILURE) { in spl_add_class_name() 89 zend_hash_add(Z_ARRVAL_P(list), pce->name, len+1, &tmp, sizeof(zval *), NULL); in spl_add_class_name() 96 void spl_add_interfaces(zval *list, zend_class_entry * pce, int allow, int ce_flags TSRMLS_DC) in spl_add_interfaces() argument 101 spl_add_class_name(list, pce->interfaces[num_interfaces], allow, ce_flags TSRMLS_CC); in spl_add_interfaces() 107 void spl_add_traits(zval *list, zend_class_entry * pce, int allow, int ce_flags TSRMLS_DC) in spl_add_traits() argument 112 spl_add_class_name(list, pce->traits[num_traits], allow, ce_flags TSRMLS_CC); in spl_add_traits() 119 int spl_add_classes(zend_class_entry *pce, zval *list, int sub, int allow, int ce_flags TSRMLS_DC) in spl_add_classes() argument 124 spl_add_class_name(list, pce, allow, ce_flags TSRMLS_CC); in spl_add_classes() 126 spl_add_interfaces(list, pce, allow, ce_flags TSRMLS_CC); in spl_add_classes() [all …]
|
/PHP-5.6/scripts/dev/generate-phpt/src/testcase/ |
H A D | gtErrorTestCaseFunction.php | 46 $list = $this->subject->getExtraArgumentList(); 48 $this->testCase[] = "var_dump(".$this->subject->getName()."( ".$list." ) );"; 50 $list = $this->subject->getShortArgumentList(); 52 $this->testCase[] = "var_dump(".$this->subject->getName()."( ".$list." ) );";
|
H A D | gtErrorTestCaseMethod.php | 49 $list = $this->subject->getExtraArgumentList(); 51 $this->testCase[] = "var_dump(".$this->subject->getName()."( ".$list." ) );"; 53 $list = $this->subject->getShortArgumentList(); 55 $this->testCase[] = "var_dump(".$this->subject->getName()."( ".$list." ) );";
|
/PHP-5.6/ext/standard/tests/file/ |
H A D | fputcsv.phpt | 6 $list = array ( 33 foreach ($list as $v) { 43 echo '$list = ';var_export($res);echo ";\n"; 53 echo '$list = ';var_export($res);echo ";\n"; 61 $list = array ( 83 $list = array (
|