stdinc — A library of common PHP functions
This is a file I include in almost all my PHP applications. It contains a variety of functions I use from time to time. The code is released under the terms of the GNU Library General Public License.
Documentation
Complete documentation for stdinc.php is available online. It was generated using the excellent phpDocumentor.
Download
You can download or view stdinc.php here. Save the file as “stdinc.php”.
Usage
Include stdinc.php in your PHP script as follows:
include( "stdinc.php" );
Refer to the documentation for specific information about each function.