|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2019-07-09 12:12 UTC] cmb@php.net
-Package: PDO related
+Package: pdo_sqlsrv
[2019-07-09 12:12 UTC] cmb@php.net
[2020-07-22 18:14 UTC] cmb@php.net
-Status: Open
+Status: Not a bug
-Assigned To:
+Assigned To: cmb
[2020-07-22 18:14 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 13:00:02 2025 UTC |
Description: ------------ when ever i output data from sql using pdo bindparam if the output is integer and is (bigint) +2147483647 it always come back 0 Test script: --------------- try{ $con = new PDO('sqlsrv:server=localhost;database=Telecaster','sa',''); $stmt = $con->prepare('{CALL cpanel_temp_gold(?)}'); $stmt->bindParam(1,$gold,PDO::PARAM_INT|PDO::PARAM_INPUT_OUTPUT,255); $stmt->execute(); echo number_format($gold); }catch(PDOEXCEPTION $e){ echo $e->getMessage(); } Expected result: ---------------- actualle number Actual result: -------------- return 0