php.net |  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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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-2020 The PHP Group
All rights reserved.
Last updated: Sun Nov 29 20:01:26 2020 UTC