Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:75089 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59696 invoked from network); 26 Jun 2014 11:15:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Jun 2014 11:15:36 -0000 Authentication-Results: pb1.pair.com header.from=indeyets@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=indeyets@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.46 as permitted sender) X-PHP-List-Original-Sender: indeyets@gmail.com X-Host-Fingerprint: 209.85.160.46 mail-pb0-f46.google.com Received: from [209.85.160.46] ([209.85.160.46:41138] helo=mail-pb0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B5/62-39155-7D00CA35 for ; Thu, 26 Jun 2014 07:15:35 -0400 Received: by mail-pb0-f46.google.com with SMTP id md12so3013702pbc.5 for ; Thu, 26 Jun 2014 04:15:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to; bh=rCnarXab4M0dvtSyjcGucXlJWhcQoAGtI6qD7bl311c=; b=q4AgV3GJCCTppIJsdkHnTqh9MOOei7HruwqNdyVW09PudYtJzov4Q7r8dGKG9tPD+o eLKCYIKtg87ZRygp1YGxSTAzU5mcmJEnvv8kS7rJ/F6AtzaJx3o2Q0k/NoJgcNIomEXX RNcS7H6aTICa/llOhSB0tJ3BOUBbmQfXInG32Resoe1EHM2kRpjDp3Dzjl/FGkUWg1ys ZYWt+1Qo52gLl3MvWoUVwkuzN+2m5Lc2zm5QpgEVKZH4CmdcBGWnQei6rfi2LdT7VUG1 KPZghW2AmzVyqjD3K1vmF5d3D9IpJ0ZGSX6g2mCwKFtLMVhfjyXrJpviQLM3JbSjAvIi 7r/w== X-Received: by 10.69.31.193 with SMTP id ko1mr20634912pbd.40.1403781332489; Thu, 26 Jun 2014 04:15:32 -0700 (PDT) Received: from [10.0.1.8] ([46.252.161.106]) by mx.google.com with ESMTPSA id xc1sm33387046pab.39.2014.06.26.04.15.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Jun 2014 04:15:31 -0700 (PDT) Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Content-Type: multipart/signed; boundary="Apple-Mail=_DCD3FB2D-BA2F-4BEE-ADFE-388CC8BEF9C8"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.1 (8a210ce+) In-Reply-To: <1CA68980-7451-4E28-AD4F-ED120393E131@ajf.me> Date: Thu, 26 Jun 2014 15:15:19 +0400 Cc: PHP Internals Message-ID: References: <1CA68980-7451-4E28-AD4F-ED120393E131@ajf.me> To: Andrea Faulds X-Mailer: Apple Mail (2.1878.2) Subject: Re: [PHP-DEV] [DRAFT][RFC] Big Integer Support From: indeyets@gmail.com (Alexey Zakhlestin) --Apple-Mail=_DCD3FB2D-BA2F-4BEE-ADFE-388CC8BEF9C8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On 26 Jun 2014, at 01:04, Andrea Faulds wrote: > I=92m less concerned about whether bigints become string keys or = preserve their int-ness, > as the difference to the end-user is much lesser. If I did add support = for bigint keys, > I=92d probably just do so by storing them as strings and converting to = bigint on output. The difference is quite noticeable actually. for example, http://docs.php.net/array_merge =93If the input arrays have the same string keys, then the later value = for that key will overwrite the previous one. If, however, the arrays = contain numeric keys, the later value will not overwrite the original = value, but will be appended." -- Alexey Zakhlestin CTO at Grids.by/you https://github.com/indeyets PGP key: http://indeyets.ru/alexey.zakhlestin.pgp.asc --Apple-Mail=_DCD3FB2D-BA2F-4BEE-ADFE-388CC8BEF9C8 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQEcBAEBCgAGBQJTrADQAAoJEMkJcRxZdR27Y0EH/3wr/6UxuhTFGNRdnvUSEUlU 6LyDLjD0F0PIG/0PO/XiWluKmElkB9mF6UqIqjrOYTNgfn7Cniz7sW/X7F8YGp2U VAL6gQJAY6X/pPTD8Qjr7LVzdOA89uSro7+io6WJ1tlwvFNZufWrz4lfVydrqvlN 6npDiKMNwD7aCXmIQlqiEO6ZjVsXOCMSGtm2EwFq8X6xJh/fUGIzift7Mr92g7tj lS028vSwc5UF5Wf7nbTm3zNqgIneDsz/XjQQ38tkS280PgFb0PkMn+LYbwsFms9M ouLiFPuYE4DsYVuQCUin1imcqh1WV1fUlPBUZl5SaryTofhUkwbKI4V1KcFMopU= =ATkJ -----END PGP SIGNATURE----- --Apple-Mail=_DCD3FB2D-BA2F-4BEE-ADFE-388CC8BEF9C8--