Hi,

I've tested your code and confirmed the behaviors with PHP 5.4RC4 and PHP 
5.4RC5.

I think you should report this bug to bugs.php.net.

(12/01/06 5:31), Daniel Henning wrote:
> 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
> 

-- 
Kousuke Ebihara <ebih...@php.net>
http://co3k.org/

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to