Bug #5065 [Asn->NoF]: return type is not integer
| From: | mj@php.net | Date: | Fri, 30 Sep 2005 16:53:04 +0000 |
| Subject: | Bug #5065 [Asn->NoF]: return type is not integer | ||
| References: | 1 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-6946@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
Updated by: mj@php.net
Reported By: senna at mugeso dot com
-Status: Assigned
+Status: No Feedback
Id: 5065
Type: Bug
Package: Documentation
PHP Version: 5.0.5
Assigned To: mj
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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