Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57315 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37643 invoked from network); 10 Jan 2012 02:59:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jan 2012 02:59:11 -0000 Authentication-Results: pb1.pair.com header.from=ebihara@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=kousuke@co3k.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain co3k.org from 209.85.214.170 cause and error) X-PHP-List-Original-Sender: kousuke@co3k.org X-Host-Fingerprint: 209.85.214.170 mail-tul01m020-f170.google.com Received: from [209.85.214.170] ([209.85.214.170:48103] helo=mail-tul01m020-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2A/31-27438-D79AB0F4 for ; Mon, 09 Jan 2012 21:59:10 -0500 Received: by obcwo10 with SMTP id wo10so5344490obc.29 for ; Mon, 09 Jan 2012 18:59:06 -0800 (PST) Received: by 10.50.6.233 with SMTP id e9mr577350iga.17.1326164346369; Mon, 09 Jan 2012 18:59:06 -0800 (PST) Received: from ebiten.local (203.143.101.162.static.zoot.jp. [203.143.101.162]) by mx.google.com with ESMTPS id 36sm257991535ibc.6.2012.01.09.18.59.04 (version=SSLv3 cipher=OTHER); Mon, 09 Jan 2012 18:59:05 -0800 (PST) Message-ID: <4F0BA975.5030200@php.net> Date: Tue, 10 Jan 2012 11:59:01 +0900 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0a2) Gecko/20120105 Thunderbird/11.0a2 MIME-Version: 1.0 To: Daniel Henning CC: internals@lists.php.net References: <949340045.1584902.1325795466510.JavaMail.fmail@mwmweb063> In-Reply-To: <949340045.1584902.1325795466510.JavaMail.fmail@mwmweb063> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP5.4 RC4 strange behavior From: ebihara@php.net (Kousuke Ebihara) 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: > > $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 http://co3k.org/