PHP5.4 RC4 strange behavior

From: Date: Thu, 05 Jan 2012 20:31:06 +0000
Subject: PHP5.4 RC4 strange behavior
Groups: php.internals 
Request: Send a blank email to internals+get-57246@lists.php.net to get a copy of this message
Hi, i've searched bugs database a lot but couldn't find something about this one. Setup: Windows Vista PHP5.4 RC4 php_pdo_sqlsrv as additional extension Code: <?php $iTest = 1; if($iTest < 9999999990) {   //do something; } $oTest = new PDO('sqlsrv:Server=server;Database=db', 'user', 'pass'); Executing this code results in an exception with message: SQLSTATE[IMSSP]: Failed to retrieve the server version. Unable to continue. When changing 9999999990 into 999999999 everything is ok. CLI and apache-module are affected, Apache needs a restart to connect to MSSQL again. 5.3 is fine with that code. I have no idea whether there is a problem with PHP-core or pdo_sqlsrv. Thanks so far, regards

« previous php.internals (#57246) next »