Re: Resource naming convention
| From: | Stanislav Malyshev | Date: | Tue, 05 Dec 2000 11:33:03 +0000 |
| Subject: | Re: Resource naming convention | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969333147@lists.php.net to get a copy of this message | ||
ES(>> resource is a valid type. Look at phpdoc/funcsummary.txt and you will
ES(>> find it frequently.
Can I invent my own type, something like:
gmp_number gmp_add(gmp_number a, gmp_number b)
or it will be too much?
The reasons I don't like resource is:
a) not every resource fits, just specific kind or it
b) actually, in the example above a and b can be integers too, function
will deal with that automatically and convert them.
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.106