Get text between 2 parentheses, including nested parentheses
<p>I want to get in between () in a text like this and put them in an array but there may be some nested parentheses inside.</p>

<p>Text:</p>

<pre><code>(This (is) a example) (on what i want)
</code></pre>

<p>It should be processed like this:</p>

<pre><code>$array["this (is) a example"] = "on what i want";
</code></pre>

<p>how can i do this?</p>
