Re: Resource naming convention

From: Date: Tue, 05 Dec 2000 11:18:10 +0000
Subject: Re: Resource naming convention
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969333145@lists.php.net to get a copy of this message
Stanislav Malyshev wrote: > > I have an extension (gmp) that works with GMP number, using resources. How > should in the manual resource be called? In analogous places, like MySQL > chapter, all resources are listed as int. But if I write something like > "string gmp_strval(int gmpnumber)", user may think that this function > expects real integer, not "resource of type GMP integer, which is > represented internally by int". This can be misleading. So, what should I > write in this case? resource is a valid type. Look at phpdoc/funcsummary.txt and you will find it frequently. -Egon -- SIX Offene Systeme GmbH · Stuttgart - Berlin - New York Sielminger Straße 63 · D-70771 Leinfelden-Echterdingen Fon +49 711 9909164 · Fax +49 711 9909199 http://www.six.de

« previous php.doc (#969333145) next »