[PEPr] Comment on Text::PathNavigator
| From: | Martin Jansen | Date: | Tue, 09 May 2006 09:04:21 +0000 |
| Subject: | [PEPr] Comment on Text::PathNavigator | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-42481@lists.php.net to get a copy of this message | ||
Martin Jansen (http://pear.php.net/user/mj) has commented on the proposal for Text::PathNavigator.
Comment:
You are of course correct when assuming that "implements" will cause a
parse error in PHP 4. I think getIterator() is a nice compromise.
Considering the implementation of this method, I'd probably return null
instead of false there if ArrayIterator does not exist.
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=393
--
Sent by PEPr, the automatic proposal system at http://pear.php.net