Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93451 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90952 invoked from network); 23 May 2016 16:31:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 May 2016 16:31:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.182 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.192.182 mail-pf0-f182.google.com Received: from [209.85.192.182] ([209.85.192.182:36172] helo=mail-pf0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E1/5A-14293-37033475 for ; Mon, 23 May 2016 12:31:47 -0400 Received: by mail-pf0-f182.google.com with SMTP id c189so68123144pfb.3 for ; Mon, 23 May 2016 09:31:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=34pK7rjt5yuDhjxCQ6WqchiaMx1PMK+6IVSwItR+Tx4=; b=fR6pDhTZFFnC8UMWWeJXzczaZ9stFkoFCx+bsELpOemfQxHP0EamPkc+eVLrb7FOn8 hK39M8+BwjA5I6j5YaUSTmHe12kEivQ7UlWDAteMKdV+xkNVD4XxztJ+e/z3RMV21Hm/ LUqnpvjZ9ayvkIkqvUvOtR6PRcueOAs3QIiz4yNmp3NDp18u0b0Wa7gmD9uplR3WlV2m UgJeVcZRhBJtvWIpXzmWSmDLNrdwPGuGC96M7V0dYyGiWSwSMVSmHGZnwYKv8OvtksrP 4hv7SdDQQZ9Rol+XFLDJEpTzHGa7wc/egVrGds0/FrDhGjkncZVVjadHckOLKje/Hwmc W3Gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=34pK7rjt5yuDhjxCQ6WqchiaMx1PMK+6IVSwItR+Tx4=; b=FAVOOJzgiCORFpkxRWYI4bvrF32BKWOCkAyGNdOkOyEblS2T/sUsHddI07RMaMSioP x2Apvogu1X7/AEuIOXpojxqGNWQ+e7X2L8BZAVtVq39V43svpHoZ99G7X31m8sDHFCYq ST/lqs/Hs8oB4GvItW00LljXTwBMwhgvYFWMa4KoE8A3c3l2jhZPXMQPDx4ANsMJb/M1 vy8oGG+YpwA4lu43Yw0haTmYgofu4HfM9lDmc4vs156nO/LQr2fhHM9WwjaRcRl9gtZI OQgnqOzAWfUfguIDhTmlOzHyL8KLgaJyDhyJfxI8RwAASUFP2T7/WYKVmYsv1K0qTaDn DOCA== X-Gm-Message-State: ALyK8tIt4UXRBr+/pINTqq9IW1sGPjKJ87hgSeRKFT9FtMDmir1Aq04MCjR2RFtv7TL5EUJsOkoelKq2IBa6+g== MIME-Version: 1.0 X-Received: by 10.98.1.6 with SMTP id 6mr7882331pfb.155.1464021104193; Mon, 23 May 2016 09:31:44 -0700 (PDT) Sender: morrison.levi@gmail.com Received: by 10.66.132.79 with HTTP; Mon, 23 May 2016 09:31:44 -0700 (PDT) In-Reply-To: References: Date: Mon, 23 May 2016 10:31:44 -0600 X-Google-Sender-Auth: xedtilZ1UaVCqPnnoCUhvYFUKZQ Message-ID: To: Nikita Nefedov Cc: "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] [Vote] Callable types (now: Callable prototypes) From: levim@php.net (Levi Morrison) On Mon, May 23, 2016 at 8:27 AM, Nikita Nefedov wrote: > Evening internals, > > With this message I'd like to go to vote > with the Callable prototypes RFC targeted at 7.1: > https://wiki.php.net/rfc/callable-types > > We've renamed it (previously was "Callable types") as RFC names often > dictate how users will call the feature and I want it to be more > accurate/descriptive. > > Also the reflection part was added although I'm short on time currently, > so implementation for that will be ready later. (speaking of implementation, > it also currently doesn't use cache_slots - also something I'll add when > I have a little bit of time) > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php A quick question before I vote: do callable prototypes allow for default parameters in the signature? There are examples for having a function passed that has a default parameters but I am not seeing it anywhere in the callable prototype definition so I thought I'd ask.