PEAR Manual
Prev |  | Next

# PEAR_Registry::listPackages()

PEAR_Registry::listPackages() -- List all registered Packages

## Synopsis

    require_once 'PEAR/Registry.php';

``array PEAR_Registry::listPackages` (void)`

## Description

List all Packages registered in the registry.

## Return value

`array` - list of package names

## Throws

Table 27-1. Possible PEAR_Error values

Error code | Error value | Meaning | Solution
--- | --- | --- | ---
| "" |  |

## Note

This function can not be called statically.

Prev | Home | Next
PEAR_Registry::deletePackage() | Up | PEAR_Registry::packageExists()