Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68943 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24933 invoked from network); 7 Sep 2013 15:43:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Sep 2013 15:43:16 -0000 Authentication-Results: pb1.pair.com header.from=chobieee@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=chobieee@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.41 as permitted sender) X-PHP-List-Original-Sender: chobieee@gmail.com X-Host-Fingerprint: 209.85.160.41 mail-pb0-f41.google.com Received: from [209.85.160.41] ([209.85.160.41:46536] helo=mail-pb0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5B/C8-00660-3994B225 for ; Sat, 07 Sep 2013 11:43:15 -0400 Received: by mail-pb0-f41.google.com with SMTP id rp2so4418643pbb.28 for ; Sat, 07 Sep 2013 08:43:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=R+C+k1a8b8C6YM4Vd83pBFO72Cl0KEHJzfoyLZNNqCU=; b=jJ4A0NQsEquJZ24Yb75cJcQdm+R5h7FlsKDWC/jGgphUzMcZ1SHz01AfCIl04Jjc3D zBRyeQABxX66mYpdl9NyXEDfgZSQ1Psm79sTOiTmHbOcFrFrhwG6X/oqhb8GfhhxZmRp dXVS+qsuSdPWbWtlO0v8QUQNoSlqQ8tZVMTEyy9HECSgrzNigllJ9N4GuFRbNJGNE4Gy SEnd2zY4KKbpanydqOBtK2sGpD7bvgw+L2KP3jxliSSyLSqKvvoJ0OWCloJhageUuMij BptPfhnYIxiDnh1QYFHaE8JQNgvNlm7bgCz0A1VolhK572wjuGmFoJjRXrrT7dMoTcPm zwIQ== MIME-Version: 1.0 X-Received: by 10.68.253.161 with SMTP id ab1mr9143812pbd.76.1378568592297; Sat, 07 Sep 2013 08:43:12 -0700 (PDT) Received: by 10.68.28.10 with HTTP; Sat, 7 Sep 2013 08:43:12 -0700 (PDT) Date: Sun, 8 Sep 2013 00:43:12 +0900 Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary=047d7b2e08cd3e15fe04e5cd03a7 Subject: adding class entry getter for JsonSerializeable From: chobieee@gmail.com (chobie) --047d7b2e08cd3e15fe04e5cd03a7 Content-Type: text/plain; charset=ISO-8859-1 Hi internals, I realized we could not retrieve php_json_serializable_ce from other extension module. JsonSerializeable interface is easy to serialize with `json_encode`. So I want to adding getter function. The patch can be found here: https://github.com/chobie/php-src/compare/adding-jsonserializeable-ce-getter I want to have feedback on the idea. Thanks, Shuhei --047d7b2e08cd3e15fe04e5cd03a7--