Skip to content

Commit 3b77fd3

Browse files
author
Andrei Zmievski
committed
TODO update and fix for C++ comments.
1 parent 0c46488 commit 3b77fd3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

TODO

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ ext/mcrypt
7171
ext/standard
7272
------------
7373
* add a version number to data serialized via serialize().
74-
* array_add(), array_rand() (Andrei)
74+
* array_add(), array_rand(), array_uniq() (Andrei)
7575
* implement pathinfo() (what the heck is it?)
7676
* possibly modify parsing of GPC data to automatically create arrays if
7777
variable name is seen more than once.

ext/standard/string.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2511,7 +2511,7 @@ PHP_FUNCTION(substr_count)
25112511
php_error(E_WARNING, "Empty substring");
25122512
RETURN_FALSE;
25132513
} else if ((*needle)->value.str.len == 1) {
2514-
// Special optimized case to avoid calls to php_memnstr
2514+
/* Special optimized case to avoid calls to php_memnstr(). */
25152515
for (i = 0, p = (*haystack)->value.str.val,
25162516
length = (*haystack)->value.str.len, cmp = (*needle)->value.str.val[0];
25172517
i < length; i++) {

0 commit comments

Comments
 (0)