## Example

`

     array ldap_explode_dn ( string $dn , int $with_attrib )

`

## Description

Splits the DN returned by ldap_get_dn() and breaks it up into its component parts. Each part is known as Relative Distinguished Name, or RDN.

## Return Values

Returns an array of all DN components. The first element in this array has count key and represents the number of returned values, next elements are numerically indexed DN components.