Richard Lynch wrote:
On Mon, February 5, 2007 12:27 pm, Matt Carlson wrote:
Over the weekend, I was tasked with taking a string representation of
a directory ('\Interface\Addons\some dir\some file'), which can
vary in length (no set number of depths) to a multi-dimensional array
(i.e.
# [EMAIL PROTECTED] / 2007-02-06 12:45:22 +0100:
there may also be some kind of solution based on
ArrayArrayArrayIteratorIteratorRecursiveArrayIteratorIteratorRecursiveIterator
but personally I don't grok those exotic forms of SPL interface well
enough to tell you.
I had wanted to post
manor.
- Original Message
From: Roman Neuhauser [EMAIL PROTECTED]
To: Jochem Maas [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Tuesday, February 6, 2007 9:03:35 AM
Subject: Re: [PHP] Converting string representation of a directory to
multi-dimensional array
I had wanted to post
Matt Carlson wrote:
Over the weekend, I was tasked with taking a string representation of a
directory ('\Interface\Addons\some dir\some file'), which can vary in
length (no set number of depths) to a multi-dimensional array (i.e.
array('Interface' = array('Addons' = array('some dir' =
On Mon, February 5, 2007 12:27 pm, Matt Carlson wrote:
Over the weekend, I was tasked with taking a string representation of
a directory ('\Interface\Addons\some dir\some file'), which can
vary in length (no set number of depths) to a multi-dimensional array
(i.e. array('Interface' =
5 matches
Mail list logo