Re: PEAR javadoc-style docs
| From: | Ulf Wendel | Date: | Wed, 10 May 2000 21:12:41 +0000 |
| Subject: | Re: PEAR javadoc-style docs | ||
| References: | 1 2 3 4 5 | Groups: | php.pear php.version4 |
| Request: | Send a blank email to php-pear+get-88@lists.php.net to get a copy of this message | ||
Andrei Zmievski wrote:
>
> How do you document something like preg_replace() which takes three
> arguments any one of which can be a string or an array and can also
> return string or array?
You've got me! I've never written such a sophisticated function... But
I'm still not convinced that's a good idea to have a type "mixed" where
nobody known what it means.
Ulf