From: Archil Imnadze Date: Mon, 8 Sep 2014 09:13:34 +0000 (+0400) Subject: Update CODING_STANDARDS X-Git-Tag: php-5.6.4RC1~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=926bd6cc7a18e1d3b34607e9100ed107d0c80f09;p=php Update CODING_STANDARDS --- diff --git a/CODING_STANDARDS b/CODING_STANDARDS index 27fff07f60..2664d12bd5 100644 --- a/CODING_STANDARDS +++ b/CODING_STANDARDS @@ -42,7 +42,7 @@ Exceptions: 4. When writing functions that deal with strings, be sure to remember that PHP holds the length property of each string, and that it - shouldn't be calculated with strlen(). Write your functions in a such + shouldn't be calculated with strlen(). Write your functions in such a way so that they'll take advantage of the length property, both for efficiency and in order for them to be binary-safe. Functions that change strings and obtain their new lengths while