Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106310 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 45337 invoked from network); 28 Jul 2019 20:32:09 -0000 Received: from unknown (HELO mail-pl1-f180.google.com) (209.85.214.180) by pb1.pair.com with SMTP; 28 Jul 2019 20:32:09 -0000 Received: by mail-pl1-f180.google.com with SMTP id b7so26631944pls.6 for ; Sun, 28 Jul 2019 10:56:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=basereality-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6M20hmZMZBW3MdSBKM9a1JBRY1s9veWDKsbE1rhktPo=; b=kw42BDLHCXc8RgY/gkE30wk1TF9RVK5pvDDyjKcAL3qODSDXiwAAxiDk2JPUqL1Axk l6nfcQphidQORIGT+toop/zNhnZlpTpF2AZU7AekTN/pQ/dwTBFp9nSn5ibBQdAOOBVs MBY9eQecNdoEDDs/ezpYb1x0dQfW2V4xs3aMzYvyeum/8bhvJFpZnshWFntBRGzkMCXH mbYDm10HIsclXLazZsZEZB5z6PZ6OpDDV35cc0VjWUJzOvGsujsliInXAxC3Ltbg6d/g 9COXTI0bUgJD6K857f6rFuStZKYzk8Z8odjXPAlq9fD9psiFdOIJuxepGHWDFneDleL8 w8lg== 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=6M20hmZMZBW3MdSBKM9a1JBRY1s9veWDKsbE1rhktPo=; b=IvPryyRT+fjEj+P/a9ybS4RVfDzu/00icfK/BT6CSBcQn+DNAuAnmmIPrCy+KigwBP zel8ixv+jTDLme0rBUtD0OpEgRQkiq1+FbmYMNXdJ1l+ISuiO8pXlI7I2uTj0aNmkcB4 oucy7+xSsuCbs+4ghdwclC8TghBlWSCzDZdpq/Q7XSvgjdjQ5BXr/zbKoMOjU4wESYuJ oZ0VOH2A6VYrT5fva4e76hOA033dNbhry42xwdVD6Md8eR0v2/oFSSSrRy8Z1cfVLcAI ZuUhW7eAAOErVqMm2RhA0ektakQMP3zB5JjOo34wPEcrv6KpKWAtfQrHW1Ps1dNif0di y+EA== X-Gm-Message-State: APjAAAVhPGkXr2KQJ7miKVh5REL+cGAE6RfWfVA0lWSfcVY+lskTUkz/ hqOgRgd7VF9GCW8jQMiag4u1BFqdP/R4IF9X/9Y= X-Google-Smtp-Source: APXvYqyxynxRHeBH5pxP1KfnImYcIFi1kB764ELm3t880peip0AD24MmgBZ1Vj4TKYDYcFSaXPj1JqxCwJjXoqrRyvc= X-Received: by 2002:a17:902:7612:: with SMTP id k18mr104956501pll.48.1564336595988; Sun, 28 Jul 2019 10:56:35 -0700 (PDT) MIME-Version: 1.0 References: <0143be10-1dff-58dc-818b-23e76345406f@gmail.com> In-Reply-To: <0143be10-1dff-58dc-818b-23e76345406f@gmail.com> Date: Sun, 28 Jul 2019 18:56:24 +0100 Message-ID: To: Stanislav Malyshev Cc: Nikita Popov , PHP internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] Re: [RFC] Namespace-scoped declares, again From: Danack@basereality.com (Dan Ackroyd) On Sun, 28 Jul 2019 at 04:17, Stanislav Malyshev wrote: > > We've decided not to do INI options to change language behavior,... > because they are - especially when applying to more than local > file - essentially low-grade INI options I don't agree. What's being proposed are not low-grade INI options. The problems with ini settings is that: * Different libraries could require different settings. * There was no way to manage the settings individually per library. Those problems do not apply to the proposed RFC. As we've seen with the declare for strict types, libraries that want to have strict mode, and libraries that want to have more type juggling, are perfectly fine to live alongside each other, and can be used just fine. > I think it's a wrong way to make semantics of the language to be > different in different libraries. I can't agree. I look at the success of how strict types was brought in, in a way that allowed for zero breaking changes for existing code, and think it was a massively successful way of improving the language without causing problems. I can't understand why someone would make the argument that evolving the language like this is a bad thing. > This looks like potential to create an environment that is > very hard to navigate and keep straight which of the options > is in play for each peace of code. You're saying very negative things about a feature you would not have to use. There have been multiple problems/features over the years that would have been more solvable is we had this RFC implemented. It's fine that you're not convinced that this is a great idea, but please can you stop making the argument that because you don't want to use a feature, no-one should be allowed to use it? cheers Dan Ack