Bug #5065 [NoF->Opn]: return type is not integer

From: Date: Mon, 10 Oct 2005 05:33:52 +0000
Subject: Bug #5065 [NoF->Opn]: return type is not integer
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-6987@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=5065&edit=1 ID: 5065 User updated by: senna at mugeso dot com Reported By: senna at mugeso dot com -Status: No Feedback +Status: Open Id: 5065 Type: Bug Package: Documentation PHP Version: 5.0.5 Assigned To: mj New Comment: I was so bussy that late for replay, sorry. i reffer to http://pear.php.net/manual/en/package.database.db-dataobject.db-dataobject.count.php Previous Comments: ------------------------------------------------------------------------ [2005-09-30 12:53:03] mj at php dot net No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2005-09-09 15:49:53] at php dot net To which page are you referring to, please? ------------------------------------------------------------------------ [2005-08-11 07:38:22] senna at mugeso dot com Description: ------------ According to the manual, return type of count() method is int but actualy is string. Test script: --------------- age table ============== name | age -------------- Tom | 24 Bob | 23 Jhon | 24 ============== Code: $table = DB_DataObject::factory('age'); $table->age = 24; var_dump($table->count()); Expected result: ---------------- integer(2) Actual result: -------------- string(1) "2" ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=5065&edit=1

« previous php.pear.doc (#6987) next »