Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84267 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99273 invoked from network); 3 Mar 2015 22:18:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Mar 2015 22:18:43 -0000 Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.172 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 209.85.212.172 mail-wi0-f172.google.com Received: from [209.85.212.172] ([209.85.212.172:42662] helo=mail-wi0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DB/71-22264-24336F45 for ; Tue, 03 Mar 2015 17:18:43 -0500 Received: by wiwh11 with SMTP id h11so26268819wiw.1 for ; Tue, 03 Mar 2015 14:18:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type:subject:from:date:to :message-id; bh=0HGJrVmKJ4nSgDO9nsKM4orI9ilh2SujzcAeydx49AA=; b=kP7rIQ6sjiFB00WjPmso1ZECbGfxlUbIjN/KO/AiAQKzDxwfJQCK8S9ggYxrV8Pt15 yF3AgXT12SSbM1DrAmk7DiCt0lKR1dAnLWL0FEtl6SDkfMMZQG8x6jQ1IR3xf2ayAs6D chxz2YeBK4O7/e3WoQVB7C1X3isQ5IPTyVVD6oYjPZyoUeblKrvkp7FmVR1ftaj/d9XA vDXexw6XiTUmSVOl6ZfvSZv3Frcippnjm/kJEHmel8mUzeDPzYTO7pK2OWBbKq0vpIGh Gks3XxJ/pQ0oQILIjLk/mat04x7tDX7bT6brSgas9Z5szghrFNl2eP/XVRPyE2gcLkdQ UiEA== X-Received: by 10.180.86.35 with SMTP id m3mr6818614wiz.83.1425421119375; Tue, 03 Mar 2015 14:18:39 -0800 (PST) Received: from [192.168.0.2] (cpc68956-brig15-2-0-cust215.3-3.cable.virginm.net. [82.6.24.216]) by mx.google.com with ESMTPSA id ha5sm382656wib.1.2015.03.03.14.18.37 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 03 Mar 2015 14:18:38 -0800 (PST) User-Agent: K-9 Mail for Android In-Reply-To: <54F614CD.6060208@lsces.co.uk> References: <54F4E29D.7080501@garfieldtech.com> <54F4E93C.80206@gmail.com> <54F4EBEC.2090702@garfieldtech.com> <54F4F3FC.6060501@fischer.name> <54F4FDFB.8010701@lsces.co.uk> <54F5895D.3090002@gmail.com> <54F614CD.6060208@lsces.co.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Date: Tue, 03 Mar 2015 22:18:32 +0000 To: Lester Caine ,internals@lists.php.net Message-ID: <72C2B700-6CBD-41D8-AB63-52B512CE6863@gmail.com> Subject: Re: [PHP-DEV] Consistent function names From: rowan.collins@gmail.com (Rowan Collins) On 3 March 2015 20:08:45 GMT, Lester Caine wrote: >The piece of the jigsaw I am missing is at which point does it become >better to create a new extension for a complex object rather than >simply >writing a set of PHP classes? A good question, wrappers can achieve a lot here. An extension has two key benefits that I can think of: performance (indirection through userland code will always be slower, and for frequent operations like string and array handling, it could add up to something significant) and convenience (thanks to Composer, dependency management is pretty simple, but nothing beats functionality built right into the language distribution). Regards, -- Rowan Collins [IMSoP]