phasync\Debug::findLeaks() public static

Documentation

Scans the entire application for possible leaks; returning static variables and globals that take a lot of space.

Signature

public static function findLeaks(array|string $namespace = ''): array

Parameters

NameTypeDefault
$namespace array|string ''

Returns

array

Source

src/Debug.php:107-148