Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80693 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 67044 invoked from network); 17 Jan 2015 12:22:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Jan 2015 12:22:10 -0000 Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.207 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.207 imap2-2.ox.privateemail.com Received: from [192.64.116.207] ([192.64.116.207:60901] helo=imap2-2.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 50/10-01125-1F35AB45 for ; Sat, 17 Jan 2015 07:22:09 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 57C5A8C0080; Sat, 17 Jan 2015 07:22:06 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at imap2.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap2.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id mUC0Pwp6GMNd; Sat, 17 Jan 2015 07:22:06 -0500 (EST) Received: from [137.50.175.149] (oa-edu-175-149.wireless.abdn.ac.uk [137.50.175.149]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id 334418C007D; Sat, 17 Jan 2015 07:22:05 -0500 (EST) References: <53CEC194.5090307@marc-bennewitz.de> <2DD279B4-E872-4FDA-9FDC-12770D4BF052@ajf.me> Mime-Version: 1.0 (1.0) In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-ID: <2B8F3D41-F7D3-4754-88B0-E740FDA6AA04@ajf.me> Cc: Marc Bennewitz , PHP internals X-Mailer: iPhone Mail (12B440) Date: Sat, 17 Jan 2015 12:22:02 +0000 To: Pierre Joye Subject: Re: [PHP-DEV] unsinged integer From: ajf@ajf.me (Andrea Faulds) Hey Pierre, > On 17 Jan 2015, at 05:56, Pierre Joye wrote: >=20 > It looks to me like yet another can of worms (how do you deal with > conversions, mixed operations, etc. it adds a lot of special cases) > with little benefits. The conversions are trivial and there are no operations to implement. The on= ly "support" added would be one more zend_parse_parameters option. > 32bit environments are dying species. There are > ways to support LFS without that as well (while I doubt the effort is > worth it). So if I'd to choose whether PHP should support unsigned > integer, my gut feeling right now is no, it should not. This wouldn't be unsigned integer support though, it'd just be a conversion m= echanism. Also, it has some use beyond 32-but systems. On 64-bit, it would be useful f= or, e.g. pack() and unpack(). Thanks. -- Andrea Faulds http://ajf.me/