Re: PHP5.4 RC4 strange behavior
| From: | Kousuke Ebihara | Date: | Tue, 10 Jan 2012 02:59:01 +0000 |
| Subject: | Re: PHP5.4 RC4 strange behavior | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-57315@lists.php.net to get a copy of this message | ||
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 <ebihara@php.net>
http://co3k.org/