diff --git a/reference/info/functions/version-compare.xml b/reference/info/functions/version-compare.xml index f5b92217f5..ad49b5b4c2 100644 --- a/reference/info/functions/version-compare.xml +++ b/reference/info/functions/version-compare.xml @@ -145,6 +145,15 @@ if (version_compare(PHP_VERSION, '5.0.0', '<')) { lower than their final release counterparts (like 5.3.0). + + + Special version strings such as alpha and + beta are case sensitive. Version strings from arbitrary + sources that do not adhere to the PHP standard may need to be lowercased + via strtolower before calling + version_compare. + +