![]() PHP_CompatInfo : The Definitive Guide |
Table of Contents
As briefly introduced at end of Advanced detection chapter, we will learn now that there are 3 categories of conditional code that could give wrong result, if there are not catched properly.
These categories are :
function
(cond_code = 1
)
A quick example:
extension
(cond_code = 2
)
A quick example:
constant
(cond_code = 4
)
A quick example:
PHP_CompatInfo : The Definitive Guide | v 1.8.0 : August 1, 2008 |