Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71809 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93512 invoked from network); 30 Jan 2014 23:56:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Jan 2014 23:56:29 -0000 Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.113.146.227 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.113.146.227 xdebug.org Linux 2.6 Received: from [82.113.146.227] ([82.113.146.227:43634] helo=xdebug.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C8/00-27138-BA6EAE25 for ; Thu, 30 Jan 2014 18:56:28 -0500 Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id 48BB3E203C; Thu, 30 Jan 2014 23:56:24 +0000 (GMT) Date: Thu, 30 Jan 2014 23:56:23 +0000 (GMT) X-X-Sender: derick@whisky.home.derickrethans.nl To: Anatol Belski cc: PHP Developers Mailing List , Matt Ficken , "Stephen A. Zarkos" In-Reply-To: Message-ID: References: User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323329-1197133831-1391126184=:6067" Subject: Re: [PHP-DEV] [VOTE] 64 bit platform improvements for string length and integer From: derick@php.net (Derick Rethans) --8323329-1197133831-1391126184=:6067 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE On Mon, 27 Jan 2014, Anatol Belski wrote: > https://wiki.php.net/rfc/size_t_and_int64 >=20 > There was two big questions regarding the compatibility. Those open > questions appeared in the discussions are reflected in the reworked RFC. Okay, so I've just looked at your attempt to port the MongoDB driver to=20 the "size_t" branch: https://github.com/weltling/mongo-php-driver/compare/mongodb:master...maste= r And seriously, this one of the biggest mistakes I've seen in a while.=20 Changing APIs so much that basically half of your code needs an update,=20 or #ifdef hell. This is not acceptable, especially not for a PHP 5.X=20 branch =E2=80=94 especially not so late in the game for 5.6! And what is the gain? Absolutely nothing important. Who cares whether=20 you can have 2147483648 or 9223372036854775808 byte long strings? Or=20 whether some silly OS doesn't implement 64bit ints. Seriously, you are=20 forgetting how incredible much pain *all* extension authors have to go=20 through. This is not only ext/ or pecl/ or people hosting things in=20 GitHub, but also an enormous amount of internal extensions for=20 companies. No, there is way too little benefit here to push that gigantuous amount=20 of work on developers, for zero to no gain. Atleast the introduction of=20 a unicode string type (=C3=A0=C2=A0la "PHP 6") had a useful meaning. I can't believe any sensible developer would vote to add this now into=20 5.6. cheers, Derick --=20 http://derickrethans.nl | http://xdebug.org Like Xdebug? Consider a donation: http://xdebug.org/donate.php twitter: @derickr and @xdebug Posted with an email client that doesn't mangle email: alpine --8323329-1197133831-1391126184=:6067--