weakmap-polyfill | A WeakMap polyfill for PHP
kandi X-RAY | weakmap-polyfill Summary
kandi X-RAY | weakmap-polyfill Summary
weakmap-polyfill is a PHP library. weakmap-polyfill has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.
PHP 7.4 introduced WeakReference, but didn't include a WeakMap implementation. This has been implemented since, but is only available in PHP 8.
PHP 7.4 introduced WeakReference, but didn't include a WeakMap implementation. This has been implemented since, but is only available in PHP 8.
Support
Quality
Security
License
Reuse
Support
weakmap-polyfill has a low active ecosystem.
It has 43 star(s) with 3 fork(s). There are 3 watchers for this library.
It had no major release in the last 12 months.
There are 0 open issues and 1 have been closed. On average issues are closed in 3 days. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of weakmap-polyfill is 0.3.0
Quality
weakmap-polyfill has 0 bugs and 0 code smells.
Security
weakmap-polyfill has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
weakmap-polyfill code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
weakmap-polyfill is licensed under the MIT License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
weakmap-polyfill releases are available to install and integrate.
Installation instructions, examples and code snippets are available.
weakmap-polyfill saves you 38 person hours of effort in developing the same functionality from scratch.
It has 111 lines of code, 10 functions and 1 files.
It has high code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of weakmap-polyfill
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of weakmap-polyfill
weakmap-polyfill Key Features
No Key Features are available at this moment for weakmap-polyfill.
weakmap-polyfill Examples and Code Snippets
Copy
$weakMap = new WeakMap();
$a = new stdClass();
$b = new stdClass();
$weakMap[$a] = 123;
var_export(isset($weakMap[$a])); // true
var_export(isset($weakMap[$b])); // false
echo $weakMap[$a]; // 123
echo $weakMap[$b]; // Error
echo count($weakMap)
Community Discussions
No Community Discussions are available at this moment for weakmap-polyfill.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install weakmap-polyfill
This library is installable via Composer:.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page