com php-src: Update CODING_STANDARDS: CODING_STANDARDS

From: Date: Mon, 24 Nov 2014 01:14:32 +0000
Subject: com php-src: Update CODING_STANDARDS: CODING_STANDARDS
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-83278@lists.php.net to get a copy of this message
Commit: 926bd6cc7a18e1d3b34607e9100ed107d0c80f09 Author: Archil Imnadze <archil@imnadze.ge> Mon, 8 Sep 2014 13:13:34 +0400 Committer: Stanislav Malyshev <stas@php.net> Sun, 23 Nov 2014 17:14:32 -0800 Parents: 34c1ba5685e5f86f98f0e1b38c95c7dacc106e3b Branches: PHP-5.6 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=926bd6cc7a18e1d3b34607e9100ed107d0c80f09 Log: Update CODING_STANDARDS Changed paths: M CODING_STANDARDS Diff: diff --git a/CODING_STANDARDS b/CODING_STANDARDS index 27fff07..2664d12 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

« previous php.cvs (#83278) next »