Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:50980 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23944 invoked from network); 9 Dec 2010 21:26:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Dec 2010 21:26:23 -0000 Authentication-Results: pb1.pair.com header.from=bproctor2@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=bproctor2@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.182 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: bproctor2@gmail.com X-Host-Fingerprint: 209.85.215.182 mail-ey0-f182.google.com Received: from [209.85.215.182] ([209.85.215.182:54009] helo=mail-ey0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DD/A2-07280-E79410D4 for ; Thu, 09 Dec 2010 16:26:23 -0500 Received: by eyf6 with SMTP id 6so2323219eyf.13 for ; Thu, 09 Dec 2010 13:26:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=nIQewH6luz0Jueumx2SIWT6CYL/xF9mwlXJo+kAwqeQ=; b=IK/7N7x1TfZPHOsCR09Cnz3VZXf0ly7sRiFEsRAT9WbsdRSRFV0tjvUIEze5k5KPYg k56BsXtSAssu5WNa4oHpcHsi0cFTHnGp80Sps7D+V8AqIXSwJVPpbKC+EgCPjJPJyEac fGnizetfqj8aclJYdqKSBN1TYlWOiZ56Q2bHM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=hsCXtT1ZW127R/paY6P+Q7Egk9a+YqciC4WyeQKGOhTT+7wg6cQW9wBlRj9iYIgwoi ML8xSXNIJqSd4HlVEGkS4dfVKubstEo+7WORvdogvYwxvg9RMnQzW/HsxVxDSVInWqaZ RJbH8ZXz3I7R737B602oCzFzU4s0gzs7FxnLs= MIME-Version: 1.0 Received: by 10.216.181.130 with SMTP id l2mr2393555wem.61.1291929979468; Thu, 09 Dec 2010 13:26:19 -0800 (PST) Received: by 10.216.49.143 with HTTP; Thu, 9 Dec 2010 13:26:19 -0800 (PST) In-Reply-To: References: Date: Thu, 9 Dec 2010 16:26:19 -0500 Message-ID: To: Michael Morris Cc: PHP Internals List Content-Type: multipart/alternative; boundary=0016367b6010803d63049700e38d Subject: Re: [PHP-DEV] PHP Dev RFC Selecting Namespaces and Tag styles at include time. From: bproctor2@gmail.com (Bradley Proctor) --0016367b6010803d63049700e38d Content-Type: text/plain; charset=ISO-8859-1 On Thu, Dec 9, 2010 at 3:53 PM, Michael Morris wrote: > > PHP_TAGS_NONE is suggested as a possible bonus mode this approach allows > that wouldn't be feasible otherwise. In this mode the engine treats the > whole file as PHP and doesn't allow mode switching. This might allow the > engine to parse the file faster. Importantly it would allow framework > designers to enforce that certain files not have HTML in them - such as a > database class, or a custom child class. Admittedly it doesn't stop > echo'ing the html, but it drives home the point to all but the densest that > perhaps this isn't the place to be printing/echoing. It's use would > encounter the problem of current IDE tools assuming that a PHP file will > always have a starting > This also would help prevent accidentally putting whitespace before the