Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80530 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58999 invoked from network); 15 Jan 2015 11:21:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jan 2015 11:21:22 -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.200 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.200 imap1-2.ox.privateemail.com Received: from [192.64.116.200] ([192.64.116.200:56026] helo=imap1-2.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2E/27-14306-1B2A7B45 for ; Thu, 15 Jan 2015 06:21:22 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 58384B00085; Thu, 15 Jan 2015 06:21:18 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at imap1.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap1.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id HgCXWmR47fA4; Thu, 15 Jan 2015 06:21:18 -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 87D3EB0007B; Thu, 15 Jan 2015 06:21:17 -0500 (EST) References: <8C47FA53-0964-49C0-963C-332A936348A5@ajf.me> <68229C26-4EEC-49DC-BA05-D5AC9728D1E8@ajf.me> <93376D88-A704-4F89-AB90-82EEDAE82081@ajf.me> <1E8DD8EB-D82C-42F4-9A55-4387078EF74A@ajf.me> Mime-Version: 1.0 (1.0) In-Reply-To: Content-Type: multipart/alternative; boundary=Apple-Mail-DB419D83-200B-4D16-A789-27946C965218 Content-Transfer-Encoding: 7bit Message-ID: Cc: Pierre Joye , PHP Internals X-Mailer: iPhone Mail (12B440) Date: Thu, 15 Jan 2015 11:21:14 +0000 To: Dmitry Stogov Subject: Re: [PHP-DEV] [RFC] Big Integer Support From: ajf@ajf.me (Andrea Faulds) --Apple-Mail-DB419D83-200B-4D16-A789-27946C965218 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Hi Dmitry, > On 15 Jan 2015, at 11:11, Dmitry Stogov wrote: >=20 > BTW: why not to wrap big integers into special IS_OBJECT? > It would keep everything working out of the box (without BIGINT), and woul= d allow to eliminate more than half of unnecessary changes. >=20 > In the past we made similar decision for closures. In retrospect that might have been a good idea. Though objects can't quite d= o everything our primitive types can. To get bigints to work that way, you'd= need to improve the support for objects a lot. You'd still need to update v= irtually every zval-accepting extension. The signature of is_numeric_string_= ex would still have to change. You would need to make constants support obje= cts, too. You'd still need to change a lot of things, unfortunately. At this stage, switching to using objects is probably a waste of time. Thanks. -- Andrea Faulds http://ajf.me/ >=20 > Thanks. Dmitry. >=20 >> On Thu, Jan 15, 2015 at 2:01 PM, Andrea Faulds wrote: >> Hey Dmitry, >>=20 >>> On 15 Jan 2015, at 07:56, Dmitry Stogov wrote: >>>=20 >>> ext/session and ext/json are required by most apps. >>> Actually I stopped attempts to build it when I saw compilation errors in= ext/session. >>>=20 >>> Thanks. Dmitry. >>=20 --Apple-Mail-DB419D83-200B-4D16-A789-27946C965218--