|  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
 [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
 [2021-09-03 16:33 UTC]
Automatic comment on behalf of cmb69
Log: Fix #894: DateTime::setTimezone never returns false
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 24 03:01:29 2024 UTC