Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80527 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53971 invoked from network); 15 Jan 2015 11:01:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jan 2015 11:01:22 -0000 Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.216 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.216 imap10-3.ox.privateemail.com Received: from [192.64.116.216] ([192.64.116.216:47719] helo=imap10-3.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C7/26-14306-00E97B45 for ; Thu, 15 Jan 2015 06:01:22 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 6015C2400AA; Thu, 15 Jan 2015 06:01:18 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at imap10.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap10.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Y8cSYCp2obJz; Thu, 15 Jan 2015 06:01: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 920092400D6; Thu, 15 Jan 2015 06:01:14 -0500 (EST) References: <8C47FA53-0964-49C0-963C-332A936348A5@ajf.me> <68229C26-4EEC-49DC-BA05-D5AC9728D1E8@ajf.me> <93376D88-A704-4F89-AB90-82EEDAE82081@ajf.me> Mime-Version: 1.0 (1.0) In-Reply-To: Content-Type: multipart/alternative; boundary=Apple-Mail-CC3D14C8-CB11-4606-A6FB-985A427396F8 Content-Transfer-Encoding: 7bit Message-ID: <1E8DD8EB-D82C-42F4-9A55-4387078EF74A@ajf.me> Cc: Pierre Joye , PHP Internals X-Mailer: iPhone Mail (12B440) Date: Thu, 15 Jan 2015 11:01:10 +0000 To: Dmitry Stogov Subject: Re: [PHP-DEV] [RFC] Big Integer Support From: ajf@ajf.me (Andrea Faulds) --Apple-Mail-CC3D14C8-CB11-4606-A6FB-985A427396F8 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Hey Dmitry, > 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 e= xt/session. >=20 > Thanks. Dmitry. Oh dear, does ext/session not build? :/ So far I've only built the branch with --disable-all. In the case of most extensions, the main source of compilation errors will b= e changes to certain Zend Engine functions. In particular, is_numeric_string= _ex needs to support bigints now and has an extra parameter. I don't think I= changed very many other functions. Porting extensions should for the most part be relatively simple. Most exten= sions are just sets of functions and use zpp. If they're using the 'l' speci= fier (Z_PARAM_LONG) they'll continue to work. In most cases there is no need= to update an 'l' parameter to support bigints. The length of a string can't= exceed PHP's max integer size, for example. Of course, there are some funct= ions where it would have a clear benefit to add bigint support. The main problem with extensions is 'z'=20 >=20 >> On Thu, Jan 15, 2015 at 10:44 AM, Pierre Joye wrot= e: >> On Thu, Jan 15, 2015 at 8:05 AM, Dmitry Stogov wrote: >> > Oh, it's still in draft state. >> > Too may extensions are missing ext/seesion, ext/json, ext/pdo. >> > Only very simple tests may be done now, and they can't predict impact o= n >> > real-life applications. >>=20 >> We may as well try to help here. >>=20 >> This patch is anything we want but simple. I really do not want to see >> Andrea going down the pain we had with the 64bit patch. So let >> organize ourselves to avoid that. >>=20 >> Step 1: >>=20 >> Which extensions do we consider as critical to actually get a clue >> about the impact? >>=20 >> I see session, standard ( ;) ), json on top of my head. Which other? >>=20 >> Let help Andrea to port these exts and do the other once we know if >> the RFC is accepted or not. >>=20 >> Cheers, >> Pierre >=20 --Apple-Mail-CC3D14C8-CB11-4606-A6FB-985A427396F8--