Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111495 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 42633 invoked from network); 12 Aug 2020 19:19:26 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 12 Aug 2020 19:19:26 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E5AF918054C for ; Wed, 12 Aug 2020 11:19:07 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: ** X-Spam-Status: No, score=2.8 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 forward106j.mail.yandex.net (forward106j.mail.yandex.net [5.45.198.249]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 12 Aug 2020 11:19:07 -0700 (PDT) Received: from mxback29g.mail.yandex.net (mxback29g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:329]) by forward106j.mail.yandex.net (Yandex) with ESMTP id 8B35C11A1CFA for ; Wed, 12 Aug 2020 21:19:05 +0300 (MSK) Received: from localhost (localhost [::1]) by mxback29g.mail.yandex.net (mxback/Yandex) with ESMTP id l331lyDa2B-J5L46GZx; Wed, 12 Aug 2020 21:19:05 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=softsatsistemas.com.br; s=mail; t=1597256345; bh=ieTcxzqXVZreNiKssKROKjWKnOry4rL9QcE9nzGyOno=; h=Message-Id:Date:Subject:To:From; b=jQguPw+lQjRzVEWSyjPGfrNLEbo+xLSBYrWNw6DJ7HFEJ1y16ussZopw8ZUjEsS8Y H4x0L2I/Od1dBtV+Dudvhl/pC6nhiZk+pMZGr4YDUjF8Fm3p0nPCNMlPY+qhT90yC0 Dm9kHFLlJ4pyeUQ/YRr65IlpWV9abJc9mZUlj7ms= Authentication-Results: mxback29g.mail.yandex.net; dkim=pass header.i=@softsatsistemas.com.br Received: by sas1-17582c8cbad7.qloud-c.yandex.net with HTTP; Wed, 12 Aug 2020 21:19:04 +0300 To: "internals@lists.php.net" MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Wed, 12 Aug 2020 15:19:04 -0300 Message-ID: <641541597256204@mail.yandex.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 Subject: Nested functions From: luis@softsatsistemas.com.br (Luis - SoftSAT Sistemas) In the effort to make PHP a better language i want to ask why not "fix" nested functions as suggested in (https://wiki.php.net/rfc/true-nested-function-support) or block their usage? The current behavior is a lot unexpected.  I am new here, sorry if it was already discussed, i can't find a good way to search the mailing history.