lime icon

Phosphorus and Lime

A Developer's Broadsheet

This blog has been deprecated. Please visit my new blog at klenwell.com/press.
PHP: extension_loaded()
Just discovered this function:

// check for ssl
if ( extension_loaded("openssl") )
{
# do something (e.g. PEAR HTTP)
}
else
{
# issue notice or something
}


Simple, obvious, useful