|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #894 php does not like sybase tinyint
Submitted: 1998-11-03 17:12 UTC Modified: 1999-11-05 03:55 UTC
From: mallsop at ind dot net Assigned:
Status: Closed Package: Sybase (dblib) related
PHP Version: 3.0.5 OS: Solaris 2.5.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: mallsop at ind dot net
New email:
PHP Version: OS:


 [1998-11-03 17:12 UTC] mallsop at ind dot net
How the bug unfolded:
I retrieved the $monthnum from a sybase query. $monthnum is a sybase tiny integer.
I then wanted to concatenate it to create a date and display it (see below).
$monthdate = $monthnum."/".$monthday."/".$monthyear;
echo $monthdate;
Php kept throwing in a line break <br> and chopping off everything after $monthnum
I changed the tinyint to an integer (in sybase) and that fixed it.
In summary: php does not like sybase tinyint
I hope this helps.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-05 03:55 UTC] thies at cvs dot php dot net
should be fixed in CVS
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Aug 06 04:01:23 2021 UTC