Re: haX0Ring exercise :)
| From: | _lallous | Date: | Wed, 29 Aug 2001 07:48:39 +0000 |
| Subject: | Re: haX0Ring exercise :) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-64948@lists.php.net to get a copy of this message | ||
You have to write your own function for this.
<alvarez@sto13.st-oneline.de> wrote in message
news:200108281212.OAA06367@sto13.st-oneline.de...
>
> I want a function or macro to return executable code yielding syntax
> preprocessing of binary trees. Because the Macro Processor seems to be
> somewhat messy I though a regular function might be capable of doing the
job.
>
> e.g.
>
> btree ('(("a", "b")("c", "d"))')
>
> should be expanded to
>
> array (array ("a", "b")
> array ("c", "d")
>
>
> How can I archieve this?
>
> D. Alvarez Arribas <alvarez@st-oneline.net>