Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79946 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43311 invoked from network); 25 Dec 2014 21:54:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Dec 2014 21:54:33 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.169 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.214.169 mail-ob0-f169.google.com Received: from [209.85.214.169] ([209.85.214.169:57296] helo=mail-ob0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6C/D1-31774-7978C945 for ; Thu, 25 Dec 2014 16:54:31 -0500 Received: by mail-ob0-f169.google.com with SMTP id vb8so32893693obc.0 for ; Thu, 25 Dec 2014 13:54:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=5JaVwCz9J9uAv94ppLMw7ZTe4mG9ED+nE6jujvy+BsA=; b=TJzYqTX1/UQWT8xD3MIQjcfLbGn9PDxJL0B/M9wU2UM6dQliXtijCTXut23HwOIGXW 5ksyuo8DozCFILSt0jHhUWYLbJDvxqDqEWYxSBk0SGUKcOSX01JbdhmGb9BBhq3LCwzL MqGsxSBiJPI63cy/75UkhbMP1LTl9JXi2m7IwFQ0f96WxHTrRybFceJRPn1SfOaRA9al 2Y6L3QZVOpQ7QQXLEOc+5V1A4Ohi+psFeTcNuI22O6KsSGHAfmJIiqi2zyvDXQOxKMNS t3pfk6/2eQKLHwzzDkiO9oykqPLq7Cqdc7xRj3GA36qiXC96q8ejtxccdLkZvTb65Nk6 geRg== X-Received: by 10.182.111.229 with SMTP id il5mr22970954obb.31.1419544468859; Thu, 25 Dec 2014 13:54:28 -0800 (PST) Received: from Stas-Air.local (108-66-6-48.lightspeed.sntcca.sbcglobal.net. [108.66.6.48]) by mx.google.com with ESMTPSA id y15sm13707458oia.20.2014.12.25.13.54.27 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Dec 2014 13:54:28 -0800 (PST) Message-ID: <549C8792.4070505@gmail.com> Date: Thu, 25 Dec 2014 13:54:26 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Juan Basso , PHP Internals References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Preserve Fractional Part in JSON encode From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > Good evening and merry christmas, > > After some discussion in a separated thread I created the RFC to discuss > about the implementation of another json_encode option. > > The RFC can be found here: > https://wiki.php.net/rfc/json_preserve_fractional_part Completely makes sense for me as an option, for 5.6 and maybe even 5.5. As a default, not so sure, but this should not hold adding an option. -- Stas Malyshev smalyshev@gmail.com