From d8bf844239cbef43989b1c6ff1a7b1309372aded Mon Sep 17 00:00:00 2001 From: Richard Quadling Date: Wed, 18 Nov 2009 13:21:28 +0000 Subject: [PATCH] Document different errors and output for Windows when supplying unknown specifiers. Fix #50217 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290910 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/datetime/functions/strftime.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/reference/datetime/functions/strftime.xml b/reference/datetime/functions/strftime.xml index 026bc8858c..1a7a2b706f 100644 --- a/reference/datetime/functions/strftime.xml +++ b/reference/datetime/functions/strftime.xml @@ -332,6 +332,14 @@ &reftitle.errors; &date.timezone.errors.description; + + As the output is dependent upon the underlying C library, some conversion + specifiers are not supported. On Windows, supplying unknown conversion + specifiers will result in 5 E_WARNING messages and + return &false;. On other operating systems you may not get any + E_WARNING messages and the output may contain the + conversion specifiers unconverted. +