Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:105946 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 22428 invoked from network); 16 Jun 2019 02:34:09 -0000 Received: from unknown (HELO mail-qk1-f180.google.com) (209.85.222.180) by pb1.pair.com with SMTP; 16 Jun 2019 02:34:09 -0000 Received: by mail-qk1-f180.google.com with SMTP id m14so4065426qka.10 for ; Sat, 15 Jun 2019 16:47:55 -0700 (PDT) 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=WLda01YooM/5OKxo834aKREqgo2ohmSvvteHyNbgfm8=; b=pX+jUMaX/QbXFHv+FCxOFbRDWfpsM9/ltoSB7gOQDlt4ynTDBGt0zgBpubMFHImOtG 0ai1mg7Km1S7SNtEJpd1XYCPEYKuMw0GN4zP5EEHkYMBVVBThyXA6mBuCPOb3VfzHoYp hUpuC9F246W6TzVGoXIPGetmED1UK0fQKtAKyAzSp3YCSxabTLdFWv2zfV40ynB9OAWw TwGkFGe1/0PO7tZ4bAUf8h5rghgZzCeo8I2PZsndw2MOMA7F2XWlxyLHHCSrIK03dhPm EuCSjeaCZmkUUdrFzm9B++oblztnfS2ozxl3t5fVkXVQbVMr497aDjkfneJhKnRNfWKr hD+A== 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=WLda01YooM/5OKxo834aKREqgo2ohmSvvteHyNbgfm8=; b=cxYOqia79Q40fJ/mSv1lexWgYQfRx1Y+8ljjfTqkKaxTMMC2kPX8hdg4lHXH85SX6f E9TVr4ZsHTKvuQgQo7E33uVZ9dZnRpOqtPm582E/XnI325iTDDPKrD6coADueu109one F6EtfSfTrTtVisb3I6y31nl8GfD2lrn90nVNIOY21GjCygcTiF0eDFZLXb1iCYqjc+YF xBvn9BKU3b2Ur8uPTDGTAHQXhPLiiMqQYeyOiZEzGDUN7o0HPMtN8jHtul6d/OsaZhQ/ 6AjKHB9TMaDO6iIRh+JOAbqeTKVGYZ072gqzTNfMkGamQ1lTzw1GEjgWnL45rwFviFIt ZJug== X-Gm-Message-State: APjAAAVCf5YsslJ7jVOKeIcGoU1mjhjulnRW+mNNOaRd3omUaAEk+nL4 5fYqnK+/l1hEd70GoPSs0LQzSqhNYSkLE2bW7l0= X-Google-Smtp-Source: APXvYqzJqcCKVe4W90WCV+6P4hAuehfbRtkYC3SOwnWExmcv88ZQNJDwpyF0aRtFbd4KtkkspV8xQm90z6IYWkeAftk= X-Received: by 2002:a37:ef18:: with SMTP id j24mr81661335qkk.293.1560642474807; Sat, 15 Jun 2019 16:47:54 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Sun, 16 Jun 2019 01:47:44 +0200 Message-ID: To: Kalle Sommer Nielsen Cc: Marco Pivetta , PHP Internals List Content-Type: multipart/alternative; boundary="0000000000005514ad058b6564b3" Subject: Re: [PHP-DEV][RFC] Alternative "use" syntax for Closures From: netmo.php@gmail.com (Wes) --0000000000005514ad058b6564b3 Content-Type: text/plain; charset="UTF-8" Hi Kalle. I hope it's feasible. Unfortunately I don't know much about internals. Any info on the matter would be very appreciated, though :P Anyway, if we can scan the function body to complain about `return null;` when the function is `:void`, surely we can scan just the very top of the function body to read the imports :P --0000000000005514ad058b6564b3--