Home
last modified time | relevance | path

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

/PHP-7.4/Zend/tests/weakrefs/
H A Dweakrefs_005.phpt2 WeakReference no __construct
5 new WeakReference();
8 …tal error: Uncaught Error: Direct instantiation of 'WeakReference' is not allowed, use WeakReferen…
10 #0 %s(2): WeakReference->__construct()
H A Dweakrefs_003.phpt2 WeakReference object handlers
5 $wr = WeakReference::create(new stdClass);
38 string(47) "WeakReference objects do not support properties"
39 string(47) "WeakReference objects do not support properties"
40 string(47) "WeakReference objects do not support properties"
41 string(47) "WeakReference objects do not support properties"
42 string(56) "WeakReference objects do not support property references"
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_002.phpt2 WeakReference serials
5 $wr = WeakReference::create(new stdClass);
13 $wrs = 'O:13:"WeakReference":0:{}';
18 string(47) "Serialization of 'WeakReference' is not allowed"
H A Dweakrefs_004.phpt2 WeakReference no inheritance
5 class Test extends WeakReference {}
8 Fatal error: Class Test may not inherit from final class (WeakReference) in %s on line %d
/PHP-7.4/Zend/
H A Dzend_weakrefs.c145 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(zend_weakref_create_arginfo, 0, 1, WeakReference, 0)
152 ZEND_COLD ZEND_METHOD(WeakReference, __construct) in ZEND_END_ARG_INFO()
159 ZEND_METHOD(WeakReference, create) in ZEND_METHOD() argument
174 ZEND_METHOD(WeakReference, get) in ZEND_METHOD() argument
183 ZEND_ME(WeakReference, __construct, NULL, ZEND_ACC_PUBLIC)
184 ZEND_ME(WeakReference, create, zend_weakref_create_arginfo, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
185 ZEND_ME(WeakReference, get, zend_weakref_get_arginfo, ZEND_ACC_PUBLIC)

Completed in 9 milliseconds