Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:108473 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 17012 invoked from network); 11 Feb 2020 14:33:52 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 11 Feb 2020 14:33:52 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 2B2DA1804AB for ; Tue, 11 Feb 2020 04:47:47 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, SUBJ_ALL_CAPS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-lj1-f194.google.com (mail-lj1-f194.google.com [209.85.208.194]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 11 Feb 2020 04:47:46 -0800 (PST) Received: by mail-lj1-f194.google.com with SMTP id n18so11408086ljo.7 for ; Tue, 11 Feb 2020 04:47:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=E4ooxrfeCN7yvp5h8ZMav7qa66OC18SjPUZmFqFn0xY=; b=tIpHP12sxyKz2fmQPW/LgLDZa3/fegVv8YHXWi4QmbtKOFGb2KVef9wfxmDG4mhPGG JfEseLv3JoReMF5okoNS+7kh6hS8jT+pRUrESbiKGAHdfMtAa4KYytPTLSYOKuKHRDfs Q2YHFyrgkBkJE4ttznQO6ZsXk7+9/t6BHQFGsoMghfWEw+viMe5+KXi9RZRcgpFNwKfN kFt9RBdLW+kPOLjMkjAaer6+uJjI7Kzo3phhTCDOix/VBnr4Qi4dhe+HMCvnXqNTOUIX 8uJXweAkxF4u7CHLQKmuk6omCuQadUPnH6wpMd04qJkxlpbOUdIxdUcQwuyd6aCzCJ65 BF+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=E4ooxrfeCN7yvp5h8ZMav7qa66OC18SjPUZmFqFn0xY=; b=T1ds5CVKkq+Lw2iwL5GnBj8KVNw7peVk+9cTNs+mWWnmFmjsom7Mw6Zmd3MnTqRkUq vpu3EH6dyIdaitSXLy529q0I+l2aDnrQ6BChbpdP0147SvmjTi1I7ixTiwB1hfSWc5pO iJ1lAKl8wcgZDkgSYP+xlh9s4RhJGlUgZSvXfhp2WVuFfZrHZNqKrZ41QOvj7crYMDa7 Op/l4ghwS4jK4P2azMT042lO88zGwIiQvrL5IncpF3GEVaKYs/yUQUiH4c7cDJPhAevc fEkWMP9zeme4LWtUSnJczw9ssPmZP8S8rw8GUMRhXI+YiWEJ+3aiTy1tEcjf78Tz/vEz Wc1g== X-Gm-Message-State: APjAAAURX12S+/mIHcULSf/S83rIzeM4CE7aq6vluuQJ8ElFWdPhLojN Ywo6MJl50zhEf0qGhXXn7fW9gKbUVPAoGmsaUQ== X-Google-Smtp-Source: APXvYqxkLXRE+JJ0ZqChbZXpsaW2yfhXGl3rhcdsZY1trkJ4sxaBJFqf50al+p74uXfqnstByUYq8OMnaOAtxhcJIkU= X-Received: by 2002:a2e:85ce:: with SMTP id h14mr4131357ljj.41.1581425262928; Tue, 11 Feb 2020 04:47:42 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 11 Feb 2020 13:47:30 +0100 Message-ID: To: Manuel Canga Cc: Diogo Galvao , internals@lists.php.net Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] [RFC] From: guilliam.xavier@gmail.com (Guilliam Xavier) Hi, On Tue, Feb 11, 2020 at 1:09 PM Manuel Canga wrote: > > I was thinking about 'function' or 'func'. 'function' is more > semantic, but 'func' is used with "short functions"( PHP 7.4 ) and > these will be used for callbacks. Then I think 'func' will be more > consistent. Actually PHP 7.4's short closures / array functions use `fn`, not `func`. But `::fn` would look... weird. I agree with Diogo that `::function` would be more consistent. -- Guilliam Xavier