Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59412 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17786 invoked from network); 7 Apr 2012 14:53:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Apr 2012 14:53:34 -0000 Authentication-Results: pb1.pair.com header.from=keisial@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=keisial@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.170 as permitted sender) X-PHP-List-Original-Sender: keisial@gmail.com X-Host-Fingerprint: 74.125.82.170 mail-we0-f170.google.com Received: from [74.125.82.170] ([74.125.82.170:60363] helo=mail-we0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0F/06-23111-CE4508F4 for ; Sat, 07 Apr 2012 10:53:33 -0400 Received: by werh12 with SMTP id h12so2216963wer.29 for ; Sat, 07 Apr 2012 07:53:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=bannWEaMEZpThiAsMP/mo8tcBVMQuwveaisg9LO9fAQ=; b=ZBBI+66wh/VMlBFO2rvoxLPbjHJjp2IdhRrCUZCsZ3EJLfZ9khxj5eG757C+gsqeCM BbeNP7VBXPUzCvQBSrHJD72wOUoq5P5rTA7cVmFCAhexnbt4eYbfrNl05VBp8KnPK6c2 AZkgbwlqNzyjzuS5HMR1OSLYafYIHLUHp1dAKGvowtlJlkP5RgvedfGhrV5p0u6mgzMV eUq9h3H3xJZJYHoYP4um+q+0b6+vBiDrc+NTOA9XAyfspYBmVZZltVNOdXq99Q8tVw91 hLjrwLP6CBChcjsv7ndsRo6A4D88W1fdxEiI5/Q0Zf03x41oRrRZqhTg2gV6ZwBD7017 C9pA== Received: by 10.180.101.136 with SMTP id fg8mr3788549wib.4.1333810409695; Sat, 07 Apr 2012 07:53:29 -0700 (PDT) Received: from [192.168.1.26] (82.Red-81-32-56.dynamicIP.rima-tde.net. [81.32.56.82]) by mx.google.com with ESMTPS id ex2sm24621455wib.8.2012.04.07.07.53.27 (version=SSLv3 cipher=OTHER); Sat, 07 Apr 2012 07:53:28 -0700 (PDT) Message-ID: <4F805624.7010000@gmail.com> Date: Sat, 07 Apr 2012 16:58:44 +0200 User-Agent: Thunderbird MIME-Version: 1.0 To: internals@lists.php.net References: <03FFDCA3-90B2-48CA-B102-7562E0E9CA45@zort.net> <4F8049D9.8000105@thelounge.net> In-Reply-To: <4F8049D9.8000105@thelounge.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP class files without Am 07.04.2012 16:00, schrieb Tom Boutell: >> That's a good point too. >> >> I think this is a better proposal: >> >> include_code, require_code, and require_code_once would work just like >> include, require and require_once, except that the parser would start >> out in PHP mode. > would you please leave this world in peace? This is a much better proposal than magic-extensions, and a backwards-compatible one. You may not like it (I'm not convinced about it), but your criticism here is wrong. > what do you think happens with hundret thousands of existing > include-files out there which are containing only HTML? They would obviously continue working as they would be using the old require code. Moreover, including a HTML files is bad coding, readfile() works much better. > why do you simply not realize that you have way too few knowledge > and tchnical education to partly understand the side effects > small changes in a general behavior are having and that the > benefit has to be a REAL LARGE ONE for everybody to accept > the possible damage - which is not the case here This is a backwards compatible change. The benefit of not typing ' where are your proposals for bash and other unix shells > hwo they have to work if there is a whitespace before > #!/bin/sh? what have you got as answer there? He is only doing a proposal for php, not for bash. > again: please leave the world in peace with your poorly > thought proposals - and yes this is a really polite answer > compared with the thoughts running through my mind > while reading your stuff Please keep trying, it can still be improved.