Resource naming convention

From: Date: Tue, 05 Dec 2000 10:38:03 +0000
Subject: Resource naming convention
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969333144@lists.php.net to get a copy of this message
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? -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.106

« previous php.doc (#969333144) next »