Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.11.5

Bug #5065 return type is not integer
Submitted: 2005-08-11 11:38 UTC
From: senna at mugeso dot com Assigned: mj
Status: Closed Package: DB_DataObject
PHP Version: 5.0.5 OS:
Roadmaps: (Not assigned)    
Subscription  
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes. If this is not your bug, you can add a comment by following this link. If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
2005-10-25 03:12 UTC
Package:
Bug Type:
Summary:
From: senna at mugeso dot com
New email:
PHP Version: Package Version: OS:

 

 [2005-08-11 11:38 UTC] 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"

Comments

 [2005-09-09 19:49 UTC] at php dot net
To which page are you referring to, please?
 [2005-09-30 16:53 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2005-10-10 05:33 UTC] senna at mugeso dot com
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
 [2005-10-21 20:47 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2005-10-25 03:12 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!