From e53bbf06226590ed1df639fc3b5670312b0c0dcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tisza=20Gerg=C5=91?= Date: Fri, 17 Oct 2025 06:05:21 -0700 Subject: [PATCH] Clarify array_walk_recursive() behavior for objects Document how array_walk_recursive() walks through objects. --- reference/array/functions/array-walk-recursive.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/reference/array/functions/array-walk-recursive.xml b/reference/array/functions/array-walk-recursive.xml index 79f4c68e633f..530360b17ffe 100644 --- a/reference/array/functions/array-walk-recursive.xml +++ b/reference/array/functions/array-walk-recursive.xml @@ -18,6 +18,11 @@ element of the array. This function will recurse into deeper arrays. + + Passing an object as the array is allowed, and will be treated as if it had been + cast to an array first. Regardless of whether the + function started with an array or an object, it will not recurse into inner objects. + &reftitle.parameters;