Does pear mail work with php 7

PEAR (PHP Extension and Application Repository) is a package manager for PHP, and it does support PHP 7.

In fact, PEAR has been actively maintained and updated to support newer versions of PHP, including PHP 7.

Here are a few ways to verify that PEAR works with PHP 7:

  1. Check the PEAR documentation: The official PEAR documentation mentions support for PHP 7.2 and later versions.
  2. Verify the PEAR version: You can check the version of PEAR installed on your system using the command pear version. This should display the version of PEAR, which should be compatible with PHP 7.
  3. Test a PEAR package: Try installing a PEAR package, such as pear install Mail, to verify that it works with PHP 7.

If you're experiencing issues with PEAR and PHP 7, it's possible that there's a specific package or configuration issue. You can try the following:

In summary, PEAR does work with PHP 7, and you should be able to use it without any issues. If you encounter any problems, it's likely due to a specific configuration or package issue.