Skip to content

Commit 7bbf2ea

Browse files
FraOrecmb69
authored andcommitted
[skip ci] Fix array_any() and array_all() descriptions
Closes GH-16731.
1 parent 27b4df4 commit 7bbf2ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/standard/array.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6699,7 +6699,7 @@ PHP_FUNCTION(array_find_key)
66996699
}
67006700
/* }}} */
67016701

6702-
/* {{{ Search within an array and returns true if an element is found. */
6702+
/* {{{ Checks if at least one array element satisfies a callback function. */
67036703
PHP_FUNCTION(array_any)
67046704
{
67056705
zval *array = NULL;
@@ -6719,7 +6719,7 @@ PHP_FUNCTION(array_any)
67196719
}
67206720
/* }}} */
67216721

6722-
/* {{{ Search within an array and returns true if an element is found. */
6722+
/* {{{ Checks if all array elements satisfy a callback function. */
67236723
PHP_FUNCTION(array_all)
67246724
{
67256725
zval *array = NULL;

0 commit comments

Comments
 (0)