PEAR_PackageFileManager::debugPackageFile() – ALWAYS use this to test output before overwriting your package.xml!!


require_once 'PEAR/PackageFileManager.php';

void PEAR_PackageFileManager::debugPackageFile ( )


This method instructs writePackageFile() to simply print the package.xml to output, either command-line or web-friendly (this is automatic based on the existence of $_SERVER['PATH_TRANSLATED']


throws no exceptions thrown


see PEAR_PackageFileManager::writePackageFile() - calls with the debug parameter set based on whether it is called from the command-line or web interface


This function can not be called statically.

use PHP_CompatInfo to auto-detect PHP and extension dependencies. (Previous) Retrieve the list of warnings (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.