Index

The Conroy & Conroy Subroutine Library - PHP Interface

2.2 PHP Interface
Some of the PHP sources for the Subroutine Library are compatible with versions as early as 5.1.2, but there is no plan to maintain the sources for anything prior to PHP 8.0 (which you ought to use anyway for security reasons). It should be noted that some PHP coding standards (for instance, names of constants) differ from industry standards. This is partly to ease the task of keeping the library maintained across several different programming languages. And to maintain backwards compatibility, this is likely to always be the case.

Note that subroutine library conditional symbols (such as CC_DEBUG) are supported in PHP (although some may not do anything useful), but the symbol names must be prefixed with a dollar sign ($). For instance: $CC_DEBUG.