PHP Feature Test: Test if PHP features work on the current setup

Recommend this page to a friend!
  Info   View files Example   View files View files (15)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2021-09-09 (1 month ago) RSS 2.0 feedNot yet rated by the usersTotal: 35 This week: 1All time: 10,258 This week: 185Up
Version License PHP version Categories
php-feature-test 1.0BSD License5PHP 5, Debug, Testing
Description Author

This package can test if PHP features work on the current setup.

It provides the main class that can call different driver classes to perform tests to evaluate if certain features work well on the PHP version that is installed in the current environment.

Each driver class works as a module to perform specific tests. Some drivers may just get information of the current PHP environment.

Currently it provides test classes to test:

- Connect to a MySQL server using the MySQLi extension functions

- Connect to a MySQL server using the MySQL extension functions

- Encrypt and decrypt data using the OpenSSL extension functions

- Get information if the current PHP server API is Apache, FastCGI, CLI, etc..

- Check if the Sendmail program is available on the expected paths in Linux or UNIX environment for sending messages with the PHP mail function

- Check if it is possible to retrieve remote Web pages using SSL with the PHP file access functions

- Check if it is possible to use TrueType fonts to render text in images using the PHP GD extension

- Check if the PHP file upload progress extension is available

- Check if the Zend OpCache cache extension is available

- Check is the ZLib compression extension functions are available.

Picture of Manuel Lemos
  Performance   Level  
Name: Manuel Lemos is available for providing paid consulting. Contact Manuel Lemos .
Classes: 43 packages by
Country: Portugal Portugal
Age: 52
All time rank: 1
Week rank: 4 Down1 in Portugal Portugal Equal

Details

PHP Feature Test

This package serves the purpose to test whether features of the PHP version being used in the current environment are available as required by the applications that each developer needs.

You can use this package to determine if your application is ready to run on newer PHP versions.

The package provides several built-in test driver classes that test whether different features are available and work well.

Run the test_features.php script to try this package.

  Files folder image Files  
File Role Description
Files folder imagedrivers (10 files)
Plain text file feature_test.php Class Class source
Accessible without login Plain text file feature_test_configuration.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file test_features.php Example Example script

  Files folder image Files  /  drivers  
File Role Description
  Plain text file mysql.php Class Class source
  Plain text file mysqli.php Class Class source
  Plain text file openssl.php Class Class source
  Plain text file sapi.php Class Class source
  Plain text file sendmail.php Class Class source
  Plain text file ssl_client.php Class Class source
  Plain text file ttf.php Class Class source
  Plain text file upload_progress.php Class Class source
  Plain text file zend_opcache.php Class Class source
  Plain text file zlib.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:35
This week:1
All time:10,258
This week:185Up
For more information send a message to info at phpclasses dot org.