Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101324 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62889 invoked from network); 11 Dec 2017 15:46:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Dec 2017 15:46:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.216.182 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.216.182 mail-qt0-f182.google.com Received: from [209.85.216.182] ([209.85.216.182:39400] helo=mail-qt0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C3/AD-53433-D58AE2A5 for ; Mon, 11 Dec 2017 10:46:37 -0500 Received: by mail-qt0-f182.google.com with SMTP id k19so39540024qtj.6 for ; Mon, 11 Dec 2017 07:46:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=golemon-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=0pqWhAYoDBqtlW8ws7A2Rc061VR9blDd+BM5JzLgnP8=; b=WvHvd+fmOJ+n4vsq1TvzIB4uDMXGZ2reOqx0kX+esyb/UGT0XkdPlGhH+QKC27LIHB FZQWckA3dls00ydzneeH3LjqBrcXFDsr57IlXBONlGAq4Q4TIjLoQdSkbnvHBpbXQt4a VmdITSQD2inEV7uiZLK8XK2RdCiIx4UnuB9AbngowMiYYvFrH2GozUzJDYLdRhSw47k6 pXGFShBAoKBFMsUKvR//CoPtm56VPP54VbteTFQ+JJe7a3wLQuHjyM3GKqcO3wI5lm4x exQGZGQZGSARc9rboJKcwgeCt5qCc9mIwq4nHEZyuw1VpY3mDtKUYdbdee6RR1Cjr01R T+iA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=0pqWhAYoDBqtlW8ws7A2Rc061VR9blDd+BM5JzLgnP8=; b=IzJN08Hj5oyO4CKTuM0pF08CWpND1RVfi4ke1UISdCkePP4QDi0vLSCk5ijEh1u9wf 3RqrYHFkhzHGrMbZiji5QqEOBJCUW2k4i5RiwCpPs1qcIBD5Bztwn4QUaop0qAaoq4aL zrr+7qvsFmybENBb1Omomu2sDYcZjZcFI0V0J9mx6UYWTvxtfPV9qLrx1wOjrZTxm+4L heJ5GFnjUcmuYsMuUSnCGfQo+9eOLItkWl+LsNC3ywP0Z+u1tAO9jtco7nUlr9kphxj0 x4pjV4QA1MR/cABc3UKBckLRRlJFQvk5SPICLlAvWvTlQhVrU4P2bYmLaysbFHKg0htO rDqg== X-Gm-Message-State: AKGB3mIqpHl1U/YIkTxuESiXTUdZiZA6SAwStaPqoxRW5XU0TrFS4XBI QepNdCwpJ4A6ZwNjg/rwPRTTDHwcKRyatqDvANv1/w== X-Google-Smtp-Source: ACJfBotcbizT5yugUAxvhYixRqVd9vgaUwGyfbr3320XkzZrzRuLn1YzyI2aZXfjrIaUZUjWThwMuUxEAO77DIOl9zk= X-Received: by 10.200.37.157 with SMTP id e29mr1153064qte.108.1513007195218; Mon, 11 Dec 2017 07:46:35 -0800 (PST) MIME-Version: 1.0 Sender: php@golemon.com Received: by 10.12.158.145 with HTTP; Mon, 11 Dec 2017 07:46:34 -0800 (PST) X-Originating-IP: [71.251.16.204] In-Reply-To: References: Date: Mon, 11 Dec 2017 10:46:34 -0500 X-Google-Sender-Auth: ngmQEpsq6eTCLCoraLT6RHbeb28 Message-ID: To: Nikita Popov Cc: PHP internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] [RFC] Namespace-scoped declares, again From: pollita@php.net (Sara Golemon) On Mon, Dec 11, 2017 at 8:43 AM, Nikita Popov wrote: > Some time ago I introduced the following proposal for namespace-scoped > declares: > > https://wiki.php.net/rfc/namespace_scoped_declares > > The idea is to allow specifying declare directives for a whole library or > project using: > > namespace_declare('Vendor\Lib', ['strict_types' => 1]); > > I've finally gotten around to implementing this proposal ( > https://github.com/php/php-src/pull/2972) and would like to move forward > with it. > Being lazy here because I'm literally on my way out the door and don't have a moment to parse through the implementation, but can you clarify how this impact compile-time declares?