Home
last modified time | relevance | path

Searched refs:WeakReference (Results 1 – 25 of 28) sorted by relevance

12

/php-src/Zend/tests/weakrefs/
H A Dweakrefs_005.phpt2 WeakReference no __construct
5 new WeakReference();
8 Fatal error: Uncaught Error: Direct instantiation of WeakReference is not allowed, use WeakReferenc…
10 #0 %s(2): WeakReference->__construct()
H A Dweakrefs_002.phpt2 WeakReference serials
5 $wr = WeakReference::create(new stdClass);
13 $wrs = 'O:13:"WeakReference":0:{}';
22 string(47) "Serialization of 'WeakReference' is not allowed"
23 string(49) "Unserialization of 'WeakReference' is not allowed"
H A Dweakrefs_001.phpt2 WeakReference
9 $wr = WeakReference::create($std);
10 $wr2 = WeakReference::create($std);
29 object(WeakReference)#2 (1) {
34 object(WeakReference)#2 (1) {
H A Dweakrefs_003.phpt2 WeakReference object handlers
5 $wr = WeakReference::create(new stdClass);
24 Warning: Undefined property: WeakReference::$disallow in %s on line %d
27 string(55) "Cannot create dynamic property WeakReference::$disallow"
28 string(57) "Cannot create dynamic property WeakReference::$disallowed"
H A Dweakrefs_004.phpt2 WeakReference no inheritance
5 class Test extends WeakReference {}
8 Fatal error: Class Test cannot extend final class WeakReference in %s on line %d
H A Dweakrefs_debug_dump.phpt9 $weak = WeakReference::create($s);
16 object(WeakReference)#2 (1) {
23 object(WeakReference)#2 (1) {
H A Dweakmap_multiple_weakrefs.phpt8 $ref = WeakReference::create($obj);
15 var_dump($ref === WeakReference::create($obj));
22 $ref = WeakReference::create($obj);
H A Dgh13612.phpt14 private \WeakReference $weakAnalysingMap;
18 $this->weakAnalysingMap = \WeakReference::create($analysingMap);
H A Dgh10043-015.phpt14 $ref = WeakReference::create($map);
H A Dgh10043-009.phpt18 $ref = WeakReference::create($map);
H A Dgh10043-012.phpt23 $ref = WeakReference::create($map);
H A Dnotify.phpt17 $ref = WeakReference::create($instance);
H A Dgh10043-003.phpt14 $ref = WeakReference::create($map);
H A Dgh10043-004.phpt14 $ref = WeakReference::create($map);
/php-src/Zend/
H A Dzend_weakrefs_arginfo.h7 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_WeakReference_create, 0, 1, WeakReference, 0)
37 ZEND_METHOD(WeakReference, __construct);
38 ZEND_METHOD(WeakReference, create);
39 ZEND_METHOD(WeakReference, get);
48 ZEND_ME(WeakReference, __construct, arginfo_class_WeakReference___construct, ZEND_ACC_PUBLIC)
49 ZEND_ME(WeakReference, create, arginfo_class_WeakReference_create, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
50 ZEND_ME(WeakReference, get, arginfo_class_WeakReference_get, ZEND_ACC_PUBLIC)
H A Dzend_weakrefs.stub.php9 final class WeakReference class
13 public static function create(object $object): WeakReference {}
/php-src/ext/ffi/tests/
H A Dweak_reference_002.phpt15 $ref_value = \WeakReference::create($cdata_value);
16 $ref_array = \WeakReference::create($cdata_array);
17 $ref_free = \WeakReference::create($cdata_free);
H A Dweak_reference_001.phpt10 $ref = \WeakReference::create($ffi);
H A Dweak_reference_003.phpt10 $ref = \WeakReference::create($ctype);
/php-src/Zend/tests/fibers/
H A Ddestructors_005.phpt35 $refs[] = WeakReference::create(new Cycle(0));
36 $refs[] = WeakReference::create(new Cycle(1));
37 $refs[] = WeakReference::create(new Cycle(2));
H A Ddestructors_009.phpt25 $weakRef = WeakReference::create(new Cycle());
H A Ddestructors_010.phpt26 $weakRef = WeakReference::create(new Cycle());
/php-src/Zend/tests/gc/
H A Dgc_048.phpt33 $cycleWithoutDestructorWeak = \WeakReference::create($cycleWithoutDestructor);
35 $cycleWithDestructorWeak = \WeakReference::create($cycleWithDestructor);
H A Dgc_050.phpt22 $weakO = \WeakReference::create($o);
/php-src/Zend/tests/lazy_objects/rfc/
H A Drfc_example_007.phpt11 $ref = WeakReference::create($object);

Completed in 18 milliseconds

12