/PHP-8.2/ext/spl/tests/ |
H A D | observer_006.phpt | 26 $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 D | observer_004.phpt | 26 $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)); 64 ["storage":"SplObjectStorage":private]=> 96 ["storage":"SplObjectStorage":private]=>
|
H A D | observer_003.phpt | 16 $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 D | bug42654.phpt | 27 ["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 D | array_025.phpt | 2 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 D | arrayObject_exchangeArray_basic2.phpt | 40 ["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 D | arrayObject___construct_basic1.phpt | 22 ["storage":"ArrayObject":private]=> 28 ["storage":"ArrayObject":private]=> 36 ["storage":"ArrayObject":private]=> 44 ["storage":"ArrayObject":private]=> 46 ["storage":"ArrayObject":private]=>
|
H A D | observer_009.phpt | 11 echo ("Count storage A: " . count($storageA)); 19 echo ("Count storage B: " . count($storageB)); 26 Count storage A: 2 x x 27 Count storage B: 2 x x
|
H A D | iterator_042.phpt | 44 %s"storage"%s"ArrayIterator":private]=> 48 %s"storage"%s"ArrayIterator":private]=> 56 %s"storage"%s"ArrayIterator":private]=> 67 %s"storage"%s"ArrayIterator":private]=> 71 %s"storage"%s"ArrayIterator":private]=> 79 %s"storage"%s"ArrayIterator":private]=> 89 %s"storage"%s"ArrayIterator":private]=>
|
H A D | observer_005.phpt | 44 $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)); 106 ["storage":"SplObjectStorage":private]=> 174 ["storage":"SplObjectStorage":private]=>
|
H A D | ArrayObject_sort_different_backing_storage.phpt | 2 Test sorting of various ArrayObject backing storage 33 ["storage":"ArrayObject":private]=> 42 ["storage":"ArrayObject":private]=> 44 ["storage":"ArrayObject":private]=> 64 ["storage":"ArrayObject":private]=> 69 ["storage":"ArrayObject":private]=>
|
H A D | array_015.phpt | 43 %s"storage"%s"ArrayObject":private]=> 59 %s"storage"%s"ArrayObject":private]=> 74 %s"storage"%s"ArrayObject":private]=> 84 %s"storage"%s"ArrayObject":private]=>
|
H A D | SplObjectStorage_unset.phpt | 34 ["storage":"SplObjectStorage":private]=> 40 ["storage":"SplObjectStorage":private]=> 46 ["storage":"SplObjectStorage":private]=> 52 ["storage":"SplObjectStorage":private]=>
|
H A D | array_001.phpt | 38 ["storage":"ArrayObject":private]=> 64 ["storage":"ArrayObject":private]=> 86 ["storage":"ArrayObject":private]=> 95 ["storage":"ArrayObject":private]=>
|
H A D | arrayObject___construct_basic6.phpt | 29 ["storage":"ArrayObject":private]=> 44 ["storage":"ArrayObject":private]=> 59 ["storage":"ArrayObject":private]=> 74 ["storage":"ArrayObject":private]=>
|
H A D | array_023.phpt | 47 ["storage":"ArrayObject":private]=> 59 ["storage":"ArrayObject":private]=> 71 ["storage":"ArrayObject":private]=> 83 ["storage":"ArrayObject":private]=>
|
H A D | arrayObject_magicMethods4.phpt | 15 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]=> 194 string(33) "This should not be in the storage" 195 ["storage":"ArrayObject":private]=>
|
H A D | arrayObject_magicMethods5.phpt | 15 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 D | arrayObject_magicMethods6.phpt | 15 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]=> 194 string(35) "This should never appear in storage" 195 ["storage":"ArrayObject":private]=>
|
/PHP-8.2/Zend/tests/enum/ |
H A D | spl-object-storage.phpt | 12 $storage = new SplObjectStorage(); 13 $storage[Foo::Bar] = 'Bar'; 14 $storage[Foo::Baz] = 'Baz'; 16 var_dump($storage[Foo::Bar]); 17 var_dump($storage[Foo::Baz]); 19 var_dump($storage->contains(Foo::Bar)); 20 var_dump($storage->contains(Foo::Qux)); 22 $serialized = serialize($storage);
|
/PHP-8.2/ext/spl/ |
H A D | spl_observer.c | 53 HashTable storage; member 82 zend_hash_destroy(&intern->storage); in spl_SplObjectStorage_free_storage() 236 ret = zend_hash_del(&intern->storage, key.key); in spl_object_storage_detach() 248 ZEND_HASH_FOREACH_PTR(&other->storage, element) { in spl_object_storage_addall() 332 zval tmp, storage; in spl_object_storage_debug_info() local 341 array_init(&storage); in spl_object_storage_debug_info() 343 ZEND_HASH_FOREACH_PTR(&intern->storage, element) { in spl_object_storage_debug_info() 356 zend_symtable_update(debug_info, zname, &storage); in spl_object_storage_debug_info() 599 zend_hash_move_forward(&other->storage); in PHP_METHOD() 961 ZEND_HASH_FOREACH_PTR(&intern->storage, elem) { in PHP_METHOD() [all …]
|
/PHP-8.2/tests/output/ |
H A D | bug60768.phpt | 6 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-8.2/tests/lang/ |
H A D | bug27535.phpt | 13 public $storage = ''; 17 $this->storage = new Class1(); 19 $this->storage->_Class2_obj = $this;
|
/PHP-8.2/TSRM/ |
H A D | TSRM.c | 33 void **storage; member 174 free(thread_resources->storage[i]); in ts_free_resources() 179 free(thread_resources->storage); in ts_free_resources() 206 free(p->storage); in tsrm_shutdown() 257 p->storage = (void *) realloc(p->storage, sizeof(void *)*id_count); in tsrm_update_active_threads() 265 resource_types_table[j].ctor(p->storage[j]); in tsrm_update_active_threads() 382 (*thread_resources_ptr)->storage = NULL; in allocate_new_resource() 398 (*thread_resources_ptr)->storage[i] = NULL; in allocate_new_resource() 557 if (p->count > rsrc_id && p->storage[rsrc_id]) { in ts_free_id() 563 free(p->storage[rsrc_id]); in ts_free_id() [all …]
|
/PHP-8.2/Zend/tests/ |
H A D | bug37046.phpt | 6 static $storage = array(array('x', 'y')); 7 return $storage[0];
|