Registry / testing / roave-no-leaks

roave-no-leaks

JSON →
library1.5.0phppackagistunverified

Detect memory leaks in PHP applications

composer require roave/no-leaks
INSTALL
IMPORT
SIG · ROAVE-NO-LEAKS
R
roave-no-leaks
testingphpv1.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Detector
use Roave\NoLeaks\Detector;

Detect memory leaks in a code block

use Roave\NoLeaks\Detector; $detector = new Detector(); $result = $detector->detect(function () { // code to test }); echo $result->hasLeaks() ? 'Leaks detected' : 'No leaks';
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.5.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
roave-no-leaks — pip install roave-no-leaks · libregistry