note 112339 added to function.array-walk-recursive

From: Date: Mon, 03 Jun 2013 10:50:27 +0000
Subject: note 112339 added to function.array-walk-recursive
Groups: php.notes 
Request: Send a blank email to php-notes+get-195038@lists.php.net to get a copy of this message
Since this is only mentioned in the footnote of the output of one of the examples, I feel it should be spelled out: * THIS FUNCTION ONLY VISITS LEAF NODES * That is to say that if you have a tree of arrays with subarrays of subarrays, only the plain values at the leaves of the tree will be visited by the callback function. The callback function isn't ever called for a nodes in the tree that subnodes (i.e., a subarray). This has the effect as to make this function unusable for most practical situations. ---- Server IP: 87.124.126.49 Probable Submitter: 81.134.131.2 ---- Manual Page -- http://php.net/manual/en/function.array-walk-recursive.php Edit -- https://master.php.net/note/edit/112339 Del: integrated -- https://master.php.net/note/delete/112339/integrated Del: useless -- https://master.php.net/note/delete/112339/useless Del: bad code -- https://master.php.net/note/delete/112339/bad+code Del: spam -- https://master.php.net/note/delete/112339/spam Del: non-english -- https://master.php.net/note/delete/112339/non-english Del: in docs -- https://master.php.net/note/delete/112339/in+docs Del: other reasons-- https://master.php.net/note/delete/112339 Reject -- https://master.php.net/note/reject/112339 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#195038) next »