diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-10-31 12:17:04 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-10-31 12:17:04 +0100 |
commit | 2f8b7668386a7c4ede409e6ab7d4d93ce9316def (patch) | |
tree | d71f2d48fc87c21e986944d494b37abfaa10a34d /Zend/zend_weakrefs.stub.php | |
parent | 1517bc4426d5da5a7c1b151ff1fbc5b2bdb2b9b9 (diff) | |
download | php-git-2f8b7668386a7c4ede409e6ab7d4d93ce9316def.tar.gz |
Add stubs for WeakReference
Diffstat (limited to 'Zend/zend_weakrefs.stub.php')
-rw-r--r-- | Zend/zend_weakrefs.stub.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Zend/zend_weakrefs.stub.php b/Zend/zend_weakrefs.stub.php new file mode 100644 index 0000000000..52ae81c7b8 --- /dev/null +++ b/Zend/zend_weakrefs.stub.php @@ -0,0 +1,9 @@ +<?php + +final class WeakReference { + public function __construct(); + + public static function create(): WeakReference; + + public function get(): ?object; +} |