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
| Name | Type | Default |
|---|---|---|
$namespace
|
array|string |
''
|
Returns
array