Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92633 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73404 invoked from network); 22 Apr 2016 09:09:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Apr 2016 09:09:09 -0000 Authentication-Results: pb1.pair.com header.from=j.boggiano@seld.be; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=j.boggiano@seld.be; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain seld.be designates 74.125.82.53 as permitted sender) X-PHP-List-Original-Sender: j.boggiano@seld.be X-Host-Fingerprint: 74.125.82.53 mail-wm0-f53.google.com Received: from [74.125.82.53] ([74.125.82.53:37103] helo=mail-wm0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 06/40-14036-43AE9175 for ; Fri, 22 Apr 2016 05:09:08 -0400 Received: by mail-wm0-f53.google.com with SMTP id n3so16645161wmn.0 for ; Fri, 22 Apr 2016 02:09:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seld-be.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=520+sU8UzIfjYi5h1ogLPFT1RODdWoci1sGp7gglEFE=; b=SD6h9k5/0TyAbzAR08mkldWO0heJ/40Nok1E4TXqp6esjAWeJs2vAPQaKY0Y+HG0ER Qq3PXpD9OBs+JU051MWgS/wdC3I/bY5sSahhSw6QDOxOELEEaqMSYWp1m8ZFmnv5BdlN vBPAVOpdMRTfgL5DkIBpqe7ksw2oe/IB7MuCpqvNTql1oQ0omK0CPjUwbd0yapYh+gCN MkMUMS6bI3w89YDhyB+VULDJfbveBZU13of+spZkeMbFmbUTiPlAe5Or2auly0KgU4eo Vb6MF6qNcHjWeUstiuCNqOjZKJufh5spUQsTFpNVd7PkrRzuUpDOnLtuJBEdH4k+/lHn 6pCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=520+sU8UzIfjYi5h1ogLPFT1RODdWoci1sGp7gglEFE=; b=PnV8PEyIeZc+weQBwXzQkl2kJND5f5+QQrBfqTRN9MmA6Rg+JdWZGLxiC8iyDz+QWS 3M+qZ5DoawJg2HRiaS6pXr6AtmhKaj5QmvBW6zrn4IkMpLH8qmWwGMNODuSdOLpYTuvD UvHJuI0fMGq4lcH2dJeSCAx7B4bBG+/MOwUgsL+iEy6rcFW/lDBG6ackh/EAKRh5LDfx IFl3OPL0wdOnmDmBNeS9zsC1fWXnH+N/LeD8nuCzvU3sPUNLvmLNKzVQ213mrOnlG0Jl PwRRlk/f7XMPcqVxU46OQh7P0+JpWs5mu86j6/HPyPws+j1PJuT0NQTsdjW/Ka+Mu2EN KQFA== X-Gm-Message-State: AOPr4FW0Bra9RfohMFfv+yvRMfetj2iUXtsxBaSvMD4GGQmjkexblQ4TLmAsxAJzNnIkTQ== X-Received: by 10.194.5.36 with SMTP id p4mr19218539wjp.167.1461316145117; Fri, 22 Apr 2016 02:09:05 -0700 (PDT) Received: from [192.168.0.2] (cpc74585-lewi13-2-0-cust978.2-4.cable.virginm.net. [82.25.75.211]) by smtp.googlemail.com with ESMTPSA id f8sm7059171wjm.13.2016.04.22.02.09.03 for (version=TLSv1/SSLv3 cipher=OTHER); Fri, 22 Apr 2016 02:09:04 -0700 (PDT) To: internals@lists.php.net References: Message-ID: <5719EA39.2070408@seld.be> Date: Fri, 22 Apr 2016 10:09:13 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV][RFC] Callable Types From: j.boggiano@seld.be (Jordi Boggiano) On 22/04/2016 05:12, Marcio Almada wrote: > Hello everyone, > > We just completed the draft for the "Callable Types" RFC. This RFC has been > recently mentioned during other type related threads on this mailing list, > so it feels to be the right time to put the proposal in context: > > The proposal is at https://wiki.php.net/rfc/callable-types > > The W.I.P patch is available for testing through http://3v4l.org under the > RFC tab. > > We count with your detailed feedback and insights. Let's have a nice, > respectful and > constructive conversation about the RFC and work on possible improvements! Very cool to see work on this. The lack of clear signature definition is definitely one of the main hurdles to using "callable" in interfaces for plugin systems and such where third parties have to integrate. Not much else to say, the syntax reads a bit weird/heavy being all in-line with the function signature but at the same time I can't imagine how else it would work that would be any better. Cheers -- Jordi Boggiano @seldaek - http://seld.be