Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:112266 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 90759 invoked from network); 20 Nov 2020 19:43:59 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 20 Nov 2020 19:43:59 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E771E1804CA for ; Fri, 20 Nov 2020 11:08:43 -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.4 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (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 ; Fri, 20 Nov 2020 11:08:43 -0800 (PST) Received: by mail-lf1-f45.google.com with SMTP id r9so14957729lfn.11 for ; Fri, 20 Nov 2020 11:08:43 -0800 (PST) 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=4vCLKDQvM6IqFCvhuv2ipfzX/QXO4Qoq/ChV8EYuB9U=; b=hMtikkKguURUk06ZsWIjd3msgyp+PLtB/oqdY2DU64qSMSiQ24MF0uojg8iXSygek/ PebfdnOjwRGr8iWbbBBymzv85nEM3+tk/4YfSO7a2kfrTuLd4vYGEAycd/l7Ln9XhLKd oqDY3l4NFsPWy96Pz1e9ubc6jkEcLDH3uZwIIdEUBFDpa9R0sO7nDfa0+YkWNRwBy8d2 tocOiJaEgUmygK15xyhWAu/uJCu0TRQVyLoQ9i6gN0tfvGfJzUJP+C2+asaCw1RlBJ5n gHsCt1gHXEdX4lsUOaKrJUMtZP/uFLWSht2stJxONSLQrDIJL4hXN1/IhLnop+N5LdM2 oiIA== X-Gm-Message-State: AOAM532pTNcJi0Ibw/Eb/FQEqGwpaiG5tb7Otc8oWk3MWdBG1plQvB1V v3lYkguBByfVYoFwKX1g3YQUA+vYkDA4W/tm1dgsSw== X-Google-Smtp-Source: ABdhPJyJntZkfZuFEBVUYvJ+IhHgCjQxgD7drAT4W2Lckuo0dFSJUZjT739fsMh795MNhIc9DfeLcDWxObzmWVh3jCY= X-Received: by 2002:ac2:4d07:: with SMTP id r7mr1620925lfi.208.1605899320346; Fri, 20 Nov 2020 11:08:40 -0800 (PST) MIME-Version: 1.0 References: <55e200cf-ed16-e935-4e09-728ce3362cba@gmx.de> In-Reply-To: Date: Fri, 20 Nov 2020 13:08:29 -0600 Message-ID: To: Guilliam Xavier Cc: David Rodrigues , PHP internals Content-Type: multipart/alternative; boundary="00000000000088e2eb05b48e92bd" Subject: Re: [PHP-DEV] [RFC] Draft - Closure self reference From: pollita@php.net (Sara Golemon) --00000000000088e2eb05b48e92bd Content-Type: text/plain; charset="UTF-8" On Fri, Nov 20, 2020 at 12:58 PM Guilliam Xavier wrote: > > I don't know if that would be a problem, because today we can have it > > "function(): Type use($x)", so "Type use($x)"? > > > > No we can't, try it (Parse error). The correct order is > "function() use($x): Type". > > Ugh. That's ugly. I want to say we should fix it, but the horse has left the stables, so it's too late to enforce the right (to me) ordering. -Sara --00000000000088e2eb05b48e92bd--