Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:18209 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34632 invoked by uid 1010); 18 Aug 2005 13:07:11 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 34616 invoked from network); 18 Aug 2005 13:07:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Aug 2005 13:07:11 -0000 X-Host-Fingerprint: 64.233.184.195 wproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.184.195:62488] helo=wproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 98/73-33075-FF784034 for ; Thu, 18 Aug 2005 09:07:11 -0400 Received: by wproxy.gmail.com with SMTP id i22so328207wra for ; Thu, 18 Aug 2005 06:07:08 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cpjaVsO0ddp16H9xreWSJPqeElKFvuMIX1FHZnTMiwQLlHYyRBGN2NyPgFaFaY6deXmorplZZZ9/3yG9c7yZKb4bEHz9Z/dNTWN+WihRkEpDMqva+/SsrhDLBbn/srMulh09WINdsH8G0Hr8uUeij5L6Lod660UF7oaxKdn7VTA= Received: by 10.54.13.60 with SMTP id 60mr1147592wrm; Thu, 18 Aug 2005 06:07:08 -0700 (PDT) Received: by 10.54.153.5 with HTTP; Thu, 18 Aug 2005 06:07:08 -0700 (PDT) Message-ID: <4e89b42605081806072f75b01f@mail.gmail.com> Date: Thu, 18 Aug 2005 09:07:08 -0400 To: Lukas Smith Cc: internals@lists.php.net In-Reply-To: <07.D6.33075.EA564034@pb1.pair.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <07.D6.33075.EA564034@pb1.pair.com> Subject: Re: [PHP-DEV] custom streams From: kingwez@gmail.com (Wez Furlong) For this particular case, I'd just use version_compare() and check for PHP 5.1 and up. It seems "cleaner" to not flip the meaning back to what it should be in a minor release, just because nobody ever reads the release notes, and most people think that it should be returning based on inverted logic. Yes, it sucks. --Wez. On 8/18/05, Lukas Smith wrote: > Hi, >=20 > I am using custom streams for the LOB support in PEAR::MDB2. > It seems that things work nicely on PHP 4.4 and PHP 5.1.0RC1. However > using todays windows 5.0.x binarys from snaps.php.net still give me > errors. Atleast there is still bug that leads to the stream_eof() return > being flipped (false becomes true). >=20 > http://bugs.php.net/bug.php?id=3D27508 >=20 > Seems to indicate this is fixed in CVS, so maybe the problem is that > nobody thought we would see 5.0.5? >=20 > regards, > Lukas >=20 > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >=20 >