Home
last modified time | relevance | path

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

/PHP-8.1/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 (0) {
31 object(WeakReference)#2 (0) {
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 Dweakmap_multiple_weakrefs.phpt8 $ref = WeakReference::create($obj);
15 var_dump($ref === WeakReference::create($obj));
22 $ref = WeakReference::create($obj);
H A Dweakrefs_006.phpt2 WeakReference overwriting existing value
/PHP-8.1/Zend/
H A Dzend_weakrefs_arginfo.h7 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_WeakReference_create, 0, 1, WeakReference, 0)
38 ZEND_METHOD(WeakReference, __construct);
39 ZEND_METHOD(WeakReference, create);
40 ZEND_METHOD(WeakReference, get);
50 ZEND_ME(WeakReference, __construct, arginfo_class_WeakReference___construct, ZEND_ACC_PUBLIC)
51 ZEND_ME(WeakReference, create, arginfo_class_WeakReference_create, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
52 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 {}
H A Dzend_weakrefs.c257 ZEND_COLD ZEND_METHOD(WeakReference, __construct) in ZEND_METHOD() argument
262 ZEND_METHOD(WeakReference, create) in ZEND_METHOD() argument
277 ZEND_METHOD(WeakReference, get) in ZEND_METHOD() argument
/PHP-8.1/ext/ffi/tests/
H A Dweak_reference_002.phpt14 $ref_value = \WeakReference::create($cdata_value);
15 $ref_array = \WeakReference::create($cdata_array);
16 $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);

Completed in 16 milliseconds