Home
last modified time | relevance | path

Searched refs:storage (Results 1 – 25 of 132) sorted by relevance

123456

/PHP-5.5/ext/spl/tests/
H A Dobserver_006.phpt26 $storage = new MyStorage();
33 var_dump(count($storage));
40 var_dump($storage);
59 $storage->rewind();
60 $storage->next();
61 var_dump($storage->key());
64 $storage->setInfo("bar");
68 $storage->rewind();
69 $storage->next();
70 $storage->next();
[all …]
H A Dobserver_004.phpt26 $storage = new MyStorage();
30 $storage->attach(new TestClass($value));
33 var_dump(count($storage));
35 foreach($storage as $object)
40 var_dump($storage);
42 var_dump(serialize($storage));
45 $storage2 = unserialize(serialize($storage));
66 ["storage":"SplObjectStorage":private]=>
98 ["storage":"SplObjectStorage":private]=>
H A Dobserver_003.phpt16 $storage = new SplObjectStorage();
20 $storage->attach(new TestClass($value));
23 var_dump(count($storage));
25 foreach($storage as $object)
30 var_dump(serialize($storage));
33 $storage2 = unserialize(serialize($storage));
H A Dbug42654.phpt27 ["storage":"ArrayIterator":private]=>
46 ["storage":"ArrayIterator":private]=>
66 ["storage":"ArrayIterator":private]=>
78 ["storage":"ArrayIterator":private]=>
91 ["storage":"ArrayIterator":private]=>
98 ["storage":"ArrayIterator":private]=>
106 ["storage":"ArrayIterator":private]=>
125 ["storage":"ArrayIterator":private]=>
H A Darray_025.phpt2 SPL: ArrayObject serialize with an object as storage
16 [storage:ArrayObject:private] => ArrayObject Object
18 [storage:ArrayObject:private] => Array
30 [storage:ArrayObject:private] => ArrayObject Object
32 [storage:ArrayObject:private] => Array
H A DarrayObject_exchangeArray_basic2.phpt40 ["storage":"ArrayObject":private]=>
50 ["storage":"ArrayObject":private]=>
60 ["storage":"ArrayObject":private]=>
62 ["storage":"ArrayObject":private]=>
73 ["storage":"ArrayObject":private]=>
75 ["storage":"ArrayIterator":private]=>
86 ["storage":"ArrayObject":private]=>
88 ["storage":"ArrayObject":private]=>
90 ["storage":"ArrayObject":private]=>
H A Diterator_042.phpt42 %s"storage"%s"ArrayIterator":private]=>
46 %s"storage"%s"ArrayIterator":private]=>
54 %s"storage"%s"ArrayIterator":private]=>
65 %s"storage"%s"ArrayIterator":private]=>
69 %s"storage"%s"ArrayIterator":private]=>
77 %s"storage"%s"ArrayIterator":private]=>
87 %s"storage"%s"ArrayIterator":private]=>
H A DarrayObject___construct_basic1.phpt22 ["storage":"ArrayObject":private]=>
28 ["storage":"ArrayObject":private]=>
36 ["storage":"ArrayObject":private]=>
44 ["storage":"ArrayObject":private]=>
46 ["storage":"ArrayObject":private]=>
H A Dobserver_009.phpt11 echo ("Count storage A: " . count($storageA));
19 echo ("Count storage B: " . count($storageB));
28 Count storage A: 2 x x
29 Count storage B: 2 x x
H A Dobserver_005.phpt44 $storage = new MyStorage(1,2,3);
48 $storage->attach(new TestClass($value[0], $value[1], $value[2]));
51 var_dump(count($storage));
53 foreach($storage as $object)
58 var_dump($storage);
60 var_dump(serialize($storage));
63 $storage2 = unserialize(serialize($storage));
108 ["storage":"SplObjectStorage":private]=>
176 ["storage":"SplObjectStorage":private]=>
H A DarrayObject___construct_basic6.phpt28 ["storage":"ArrayObject":private]=>
41 ["storage":"ArrayObject":private]=>
56 ["storage":"ArrayObject":private]=>
71 ["storage":"ArrayObject":private]=>
H A Darray_023.phpt47 ["storage":"ArrayObject":private]=>
59 ["storage":"ArrayObject":private]=>
71 ["storage":"ArrayObject":private]=>
83 ["storage":"ArrayObject":private]=>
H A Darray_001.phpt40 ["storage":"ArrayObject":private]=>
66 ["storage":"ArrayObject":private]=>
92 ["storage":"ArrayObject":private]=>
101 ["storage":"ArrayObject":private]=>
H A DarrayObject_magicMethods4.phpt15 public $b = "This should not be in the storage";
91 string(33) "This should not be in the storage"
92 ["storage":"ArrayObject":private]=>
129 string(33) "This should not be in the storage"
130 ["storage":"ArrayObject":private]=>
165 string(33) "This should not be in the storage"
166 ["storage":"ArrayObject":private]=>
196 string(33) "This should not be in the storage"
197 ["storage":"ArrayObject":private]=>
H A DarrayObject_magicMethods5.phpt15 public $b = "This should appear in storage";
92 string(29) "This should appear in storage"
93 ["storage":"ArrayObject":private]=>
127 string(29) "This should appear in storage"
128 ["storage":"ArrayObject":private]=>
162 string(29) "This should appear in storage"
163 ["storage":"ArrayObject":private]=>
194 string(29) "This should appear in storage"
195 ["storage":"ArrayObject":private]=>
H A DarrayObject_magicMethods6.phpt15 public $b = "This should never appear in storage";
91 string(35) "This should never appear in storage"
92 ["storage":"ArrayObject":private]=>
129 string(35) "This should never appear in storage"
130 ["storage":"ArrayObject":private]=>
165 string(35) "This should never appear in storage"
166 ["storage":"ArrayObject":private]=>
196 string(35) "This should never appear in storage"
197 ["storage":"ArrayObject":private]=>
H A Darray_015.phpt45 %s"storage"%s"ArrayObject":private]=>
63 %s"storage"%s"ArrayObject":private]=>
78 %s"storage"%s"ArrayObject":private]=>
93 %s"storage"%s"ArrayObject":private]=>
H A Darray_017.phpt160 ["storage":"ArrayObject":private]=>
197 ["storage":"ArrayIterator":private]=>
209 ["storage":"ArrayObject":private]=>
259 ["storage":"ArrayIterator":private]=>
271 ["storage":"ArrayObject":private]=>
337 ["storage":"ArrayObject":private]=>
380 ["storage":"ArrayIterator":private]=>
392 ["storage":"ArrayObject":private]=>
448 ["storage":"ArrayIterator":private]=>
460 ["storage":"ArrayObject":private]=>
[all …]
H A Darray_002.phpt24 ["storage":"ArrayObject":private]=>
26 ["storage":"ArrayObject":private]=>
/PHP-5.5/ext/spl/internal/
H A Dsplobjectstorage.inc13 * @brief Object storage
25 private $storage = array();
32 rewind($this->storage);
39 return key($this->storage) !== false;
53 $element = current($this->storage);
62 $element = current($this->storage);
80 next($this->storage);
88 return count($this->storage);
98 foreach($this->storage as $element)
117 $this->storage[] = array($obj, $inf);
[all …]
/PHP-5.5/TSRM/
H A DTSRM.c26 void **storage; member
178 if (p->storage[j]) { in tsrm_shutdown()
180 resource_types_table[j].dtor(p->storage[j], &p->storage); in tsrm_shutdown()
182 free(p->storage[j]); in tsrm_shutdown()
185 free(p->storage); in tsrm_shutdown()
251 p->storage = (void *) realloc(p->storage, sizeof(void *)*id_count); in ts_allocate_id()
255 resource_types_table[j].ctor(p->storage[j], &p->storage); in ts_allocate_id()
393 resource_types_table[i].dtor(thread_resources->storage[i], &thread_resources->storage); in tsrm_free_interpreter_context()
546 resource_types_table[j].dtor(p->storage[j], &p->storage); in ts_free_id()
548 free(p->storage[j]); in ts_free_id()
[all …]
/PHP-5.5/ext/spl/
H A Dspl_observer.c83 HashTable storage; member
105 zend_hash_destroy(&intern->storage); in spl_SplOjectStorage_free_storage()
252 zend_hash_move_forward_ex(&other->storage, &pos); in spl_object_storage_addall()
325 zval *tmp, *storage; in spl_object_storage_debug_info() local
342 MAKE_STD_ZVAL(storage); in spl_object_storage_debug_info()
343 array_init(storage); in spl_object_storage_debug_info()
355 add_assoc_zval_ex(storage, md5str, 33, tmp); in spl_object_storage_debug_info()
552 zend_hash_internal_pointer_reset(&other->storage); in SPL_METHOD()
555 zend_hash_move_forward(&other->storage); in SPL_METHOD()
585 zend_hash_move_forward(&intern->storage); in SPL_METHOD()
[all …]
/PHP-5.5/tests/output/
H A Dbug60768.phpt6 global $storage;
8 ob_start(function($buffer) use (&$storage) { $storage .= $buffer; }, 20);
18 printf("Output size: %d, expected %d\n", strlen($storage), 20 + 10 * 10);
/PHP-5.5/tests/lang/
H A Dbug27535.phpt13 public $storage = '';
17 $this->storage = new Class1();
19 $this->storage->_Class2_obj = $this;
/PHP-5.5/Zend/tests/
H A Dbug37046.phpt6 static $storage = array(array('x', 'y'));
7 return $storage[0];

Completed in 55 milliseconds

123456