Why is PEAR seperated into pear/ and php-src/pear/?

The first elements of PEAR were stored in the directory php-src/pear and so they were bundled with each new PHP release.

For future releases of PEAR this isn't workable because PEAR will become too big to be bundled with every release of PHP. So there was a decision to commit all new elements to an own top level directory pear. The other elements which are currently remaining in php-src/pear will be moved to the new top level directory soon. Only the PFC code and the PEAR package manager code will be bundled with every new release automatically.