|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-04-03 01:39 UTC] yohgaki@php.net
[2012-04-26 05:04 UTC] danhen at web dot de
[2013-03-29 17:40 UTC] aaron at steamcube dot com
[2013-03-30 00:53 UTC] rasmus@php.net
[2013-03-30 06:21 UTC] pajoye@php.net
[2013-03-30 06:21 UTC] pajoye@php.net
-Status: Open
+Status: Feedback
[2013-10-15 11:54 UTC] php-bugs at lists dot php dot net
[2015-01-22 10:20 UTC] rw01 at gmx dot com
[2015-01-22 11:08 UTC] rw01 at gmx dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 03:00:02 2025 UTC |
Description: ------------ If large integer values are defined in the source code, connecting to MSSQL-Server fails. Setup: Windows Vista PHP5.4 RC5 php_pdo_sqlsrv as additional extension The code which defines the value doesn't need to be executed. It's enough defining such values before connecting to mssql (inside a previous loadad class in my case). When 9999999990 is changed to 999999999 everything is fine. Test script: --------------- <?php $iTest = 1; if($iTest < 9999999990) { //do something; } $oTest = new PDO('sqlsrv:Server=server;Database=db', 'user', 'pass'); Expected result: ---------------- Blank page for apache, no output for CLI Actual result: -------------- PDOException with message: SQLSTATE[IMSSP]: Failed to retrieve the server version. Unable to continue.