Find the right value in recursive array
<p>I have an array with multiple sub-arrays like this:</p>

<pre><code>    Array
   (
       [0] =&gt; Array
           (
               [Page_ID] =&gt; 1
               [Page_Parent_ID] =&gt; 0
               [Page_Title] =&gt; Overview
               [Page_URL] =&gt; overview
               [Page_Type] =&gt; content
               [Page_Order] =&gt; 1
           )

       [1] =&gt; Array
           (
               [0] =&gt; Array
                   (
                       [Page_ID] =&gt; 2
                       [Page_Parent_ID] =&gt; 1
                       [Page_Title] =&gt; Team
                       [Page_URL] =&gt; overview/team
                       [Page_Type] =&gt; content
                       [Page_Order] =&gt; 1
                   )

           )

       [2] =&gt; Array
           (
               [Page_ID] =&gt; 3
               [Page_Parent_ID] =&gt; 0
               [Page_Title] =&gt; Funds
               [Page_URL] =&gt; funds
               [Page_Type] =&gt; content
               [Page_Order] =&gt; 2
           )

       [3] =&gt; Array
           (
               [0] =&gt; Array
                   (
                       [Page_ID] =&gt; 4
                       [Page_Parent_ID] =&gt; 3
                       [Page_Title] =&gt; Strategy
                       [Page_URL] =&gt; funds/strategy
                       [Page_Type] =&gt; content
                       [Page_Order] =&gt; 1
                   )

               [1] =&gt; Array
                   (
                       [0] =&gt; Array
                           (
                               [Page_ID] =&gt; 7
                               [Page_Parent_ID] =&gt; 4
                               [Page_Title] =&gt; A Class Fund
                               [Page_URL] =&gt; funds/strategy/a-class-fund
                               [Page_Type] =&gt; content
                               [Page_Order] =&gt; 1
                           )

                       [1] =&gt; Array
                           (
                               [0] =&gt; Array
                                   (
                                       [Page_ID] =&gt; 10
                                       [Page_Parent_ID] =&gt; 7
                                       [Page_Title] =&gt; Information
                                       [Page_URL] =&gt; funds/strategy/a-class-fund/information
                                       [Page_Type] =&gt; content
                                       [Page_Order] =&gt; 1
                                   )

                               [1] =&gt; Array
                                   (
                                       [Page_ID] =&gt; 11
                                       [Page_Parent_ID] =&gt; 7
                                       [Page_Title] =&gt; Fund Data
                                       [Page_URL] =&gt; funds/strategy/a-class-fund/fund-data
                                       [Page_Type] =&gt; content
                                       [Page_Order] =&gt; 2
                                   )

                           )

                       [2] =&gt; Array
                           (
                               [Page_ID] =&gt; 8
                               [Page_Parent_ID] =&gt; 4
                               [Page_Title] =&gt; B Class Fund
                               [Page_URL] =&gt; funds/strategy/b-class-fund
                               [Page_Type] =&gt; content
                               [Page_Order] =&gt; 2
                           )
</code></pre>

<p>I need a function to find the right Page_URL so if you know the $url is "funds/strategy/a-class-fund" I need to pass that to a function that returns a single array result (which would be the Page_ID = 7 array in this example).</p>

<p>Having a bit of a stupid day, any help would be appreciated!</p>
