Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84739 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47577 invoked from network); 13 Mar 2015 23:11:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Mar 2015 23:11:40 -0000 Authentication-Results: pb1.pair.com smtp.mail=ircmaxell@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ircmaxell@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.49 as permitted sender) X-PHP-List-Original-Sender: ircmaxell@gmail.com X-Host-Fingerprint: 209.85.215.49 mail-la0-f49.google.com Received: from [209.85.215.49] ([209.85.215.49:34307] helo=mail-la0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 99/B8-34457-AAE63055 for ; Fri, 13 Mar 2015 18:11:39 -0500 Received: by lagg8 with SMTP id g8so933486lag.1 for ; Fri, 13 Mar 2015 16:11:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=vJYi30NULR6tp2xDfS6n8UsIydy7OjdtxPDAnMsm0Q0=; b=RBChX1gdb9MyvCPxMbgHiLvLjnlaEdIleDBH9F2/JtPMR+SfddcKBD6u6x70HBgJyu n3EggzZoI94PIG2K7px+dpUndjMJqz1Jf1rqNhDYu8GEH/fpsxg2mUHbfmp2bcxccart K6VEe0PwEz/lCzisWJ4I6AcIHcrJjIXuDX48ch16ALWdV2Ovl5f4HayvX+ZizCsZKL9E ujR7uXugrsniWuGgUUOrlInEP4b0tSYp39w96Z84GVJykheg7Jyr7sYbA7H3kyg/Vs+M 0jdq4l8U4jVOf5ykKYgpe6PX+glY4Q9aztmtwo7rjDi6230OGyUJBVaIi977i5mbpnD6 udSw== MIME-Version: 1.0 X-Received: by 10.152.203.134 with SMTP id kq6mr25649944lac.110.1426288295474; Fri, 13 Mar 2015 16:11:35 -0700 (PDT) Received: by 10.25.43.9 with HTTP; Fri, 13 Mar 2015 16:11:35 -0700 (PDT) In-Reply-To: References: Date: Fri, 13 Mar 2015 19:11:35 -0400 Message-ID: To: Arvids Godjuks Cc: Philip Sturgeon , =?UTF-8?Q?Pavel_Kou=C5=99il?= , "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] A plea for unity on scalar types From: ircmaxell@gmail.com (Anthony Ferrara) Arvids, > That declare thing with the removal of block-aware declare(){} kills one of > the fundamental optimizations you can do for large PHP projects - compacting > most used files into one single big file and caching it. And you never had > to care what the files are - just splice it all together and let autoload > handle the rare cases. With single declare statement I effectivly have to > scan all the code, remove declare statements and choose a mode globally. > Well, it might work for a small project, but in a big project with multiple > teams or even multiple vendors doing different parts.... http://news.php.net/php.internals/83356 <-- That's why it isn't supported. I tried. I wanted to. It's just not feasible. If you want to find a way, go for it. We can then add that mode later. Awesome! However, if you really want to merge files together, great. Strip out the strict mode and change everything to weak. It will all still work 100% **unless** you relied on the exception (which you shouldn't be doing anyway). And that's not even mentioning that with opcache the benefits of merging files together is diminished significantly. But if you want to, there's still a way. > At this point I have only swearing words for the proposing persons and > supporters. > It's magic_quotes and register_globals all over again, but this time you > can't fix it with some PHP code. > > You really had to fuck it all up for us, the userland developers, didn't > you? > > Sorry, but I now question the wisdom and sanity of most new PHP folks. > Because the old once see the danger and vote "no". And everyone just thinks > they act up. Well, you wrong. I will nit be surprised if they just leave the > project for good after this. Please remain respectful. That section was *way* out of line, and you really must know that. Anthony