Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111801 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 33360 invoked from network); 3 Sep 2020 08:13:46 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 3 Sep 2020 08:13:46 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 72C10180531 for ; Thu, 3 Sep 2020 00:18:51 -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.1 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_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) (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 ; Thu, 3 Sep 2020 00:18:50 -0700 (PDT) Received: by mail-pj1-f48.google.com with SMTP id mw10so1031472pjb.2 for ; Thu, 03 Sep 2020 00:18:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=QVQbjATXOV/0TuXTctqm9Eq2UOaiTEyAtRRD4G+jEqw=; b=n+RSHpPLll3purbjEvKSV4VlbOvFIXlHrhJieqa2LvX+k3hmCn59gzdghWETUpPpHM njuyuwsDV1N810LHph15Kq6Img0c6a7rl+YVv1ZHV0MAsKPF11mLkcYa79LrPeUmdRfJ qIsTSTkE1B3+VvxZKlHPQ1ekz896oZfuT4wFwf+RKE1dItDwhtoitdkV3b3MkjvpCw/o +gebQrJbVW9Rs0uBEke9ulx4tgjyGuS58xaoSb6HOQsMiz2fyXSE+uPc21Vv0UzxFBhY PT+c63eNxYRQEQV7ot5eXF4VyoOC/69RScTFmSXCfBXKVNySXuO8+75ropfbCISQvPjx gMqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=QVQbjATXOV/0TuXTctqm9Eq2UOaiTEyAtRRD4G+jEqw=; b=dDN24YMK4PfwV4lfFCSnNtoAG6O5Ftb27AEYGR5NQIlwaQ9RhaD2qbxJ2+DQucUc+A QxpvRkGbwu1okPH9msIQBj1o97mo4RHV+9GErI1xkH55TfSdsZsOLsZO5Xl8D9EQcWQO 1KJg2QIYtE6FXcoB7lEiWo+9Sy16i8dEDK5VJWyK9n5JurY2l40F+LBTan6Kbz72peSn R1Xuoglyq6LTdtEURZapiry7hjpKkgpYIjTg3Lr7FDDManD1+kGHGUAxRnx54jP2fv0n hm/9Ip8T4b9bjri/ambuIPD2uc4w7pFhRwOxSFhwvJYSQnCWXfPB7K282QvJNimo7tAP Rbpw== X-Gm-Message-State: AOAM533L5WFL7/Gq4HKWIX0SVYo2UqVB1fi95mqGSAGjGpWvAB6RqvVa vaAg6V0sN+OHdXy9rnbkniQiWaHKWDXg X-Google-Smtp-Source: ABdhPJwNSbWms0W7O5tHZaZzqCwWapYjZjzP+d6dLqLu7sYyDIDe4FQsJh9C5hRPlsiKIVjpWObngg== X-Received: by 2002:a17:90b:1197:: with SMTP id gk23mr1803970pjb.167.1599117527936; Thu, 03 Sep 2020 00:18:47 -0700 (PDT) Received: from Stas-Mac-3.local (ec2-34-209-88-149.us-west-2.compute.amazonaws.com. [34.209.88.149]) by smtp.gmail.com with ESMTPSA id v13sm1436348pjr.12.2020.09.03.00.18.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Sep 2020 00:18:47 -0700 (PDT) To: Mike Schinkel Cc: PHP internals References: <89FF9360-609A-439F-BDBE-B3B4C141E00F@newclarity.net> <95eddd89-9915-14fc-7649-9de0e8dd349d@gmail.com> Message-ID: <306f190e-efd8-0db8-a9c3-aff3c90aa1c6@gmail.com> Date: Thu, 3 Sep 2020 00:18:45 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Draft RFC: foreach iteration of keys without values From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > If it adds a micro-optimization, great, but allowing a developer to > explicitly signal intent is the primary argument for adding void. > IMO. You can signal intent by using $_ or $dummy or whatever. You don't need new language construct each time for each way of using or not using a variable. -- Stas Malyshev smalyshev@gmail.com