Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84138 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99982 invoked from network); 2 Mar 2015 00:55:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Mar 2015 00:55:12 -0000 Authentication-Results: pb1.pair.com smtp.mail=ua.san.alex@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ua.san.alex@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.175 as permitted sender) X-PHP-List-Original-Sender: ua.san.alex@gmail.com X-Host-Fingerprint: 209.85.213.175 mail-ig0-f175.google.com Received: from [209.85.213.175] ([209.85.213.175:41831] helo=mail-ig0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A5/F2-17251-FE4B3F45 for ; Sun, 01 Mar 2015 19:55:11 -0500 Received: by igal13 with SMTP id l13so13352931iga.0 for ; Sun, 01 Mar 2015 16:55:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=vj+94DxAcicYdPS3gt1F4x6YJGBjXeVGPUbvtZnsKR0=; b=0s8ucGms0Dp9d1kSd5EtROWSSm8bDdFS5QAlOwSIdNQ/0cYJL0c3lYKH64Tqa5BSWW ewP0sS3GDB+8vAhnkjuYKz3BTNJ1RRh/WKyxzNFuc2jbpMjaDKh3k4hg2OkD/g05BRIK FlfvKCcvJJuw930bzjZcn+m2sCftpEovldDFpIVfXsNczB6KDvjTvBrhpxBnG/bC7Yi/ tNCINyWR/t935oOrhUpsU6xl2l8852K8V49hkmJlCEKTX1cAH5UioBIbWAfqEJtS6ZaT ZnKV+oimtc8BQxKFKRZqN/ETA2WA/6PIUVa3oVFJj1pUE6PreeWe2VMM1WwvhBFhoodV 3E9A== MIME-Version: 1.0 X-Received: by 10.43.44.69 with SMTP id uf5mr18989932icb.6.1425257708411; Sun, 01 Mar 2015 16:55:08 -0800 (PST) Received: by 10.50.93.3 with HTTP; Sun, 1 Mar 2015 16:55:08 -0800 (PST) In-Reply-To: References: <5E7DF0C5-BCB4-432A-A876-A5057FEBFBB5@gmail.com> <54F320E9.5000706@fischer.name> Date: Mon, 2 Mar 2015 02:55:08 +0200 Message-ID: To: Terry Cullen Cc: internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Consistent function names From: ua.san.alex@gmail.com ("S.A.N") 2015-03-02 2:17 GMT+02:00 Terry Cullen : > On 2 March 2015 at 01:18, S.A.N wrote: > >> Maybe better implement for method calls on primitive types in PHP 7? >> https://github.com/nikic/scalar_objects >> >> > I've searched through the internals archive looking for debate on using > scalar objects without much luck. I'd love to see some discussion around > this as it seems like it would go a long way to resolving some common pain > points in PHP without BC like: > > - type hints > - inconsistant function naming > - needle/haystack > - unicode > > And, the method chaining of common string/array manipulations makes for > cleaner, easier to read code. > +1