Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43681 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46767 invoked from network); 13 Apr 2009 19:10:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Apr 2009 19:10:22 -0000 Authentication-Results: pb1.pair.com header.from=glen.84@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=glen.84@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.219.179 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: glen.84@gmail.com X-Host-Fingerprint: 209.85.219.179 mail-ew0-f179.google.com Received: from [209.85.219.179] ([209.85.219.179:57222] helo=mail-ew0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E2/68-22673-C1E83E94 for ; Mon, 13 Apr 2009 15:10:22 -0400 Received: by ewy27 with SMTP id 27so2435138ewy.23 for ; Mon, 13 Apr 2009 12:10:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=v8IWw34+hQeiUXsPefLiaB++csBAC1XvlETsmTsz/CA=; b=Ht1T/DMldr9xYjYIJUiptTbpwsmO9x6A2PhnQy0zSHZl95LgapMa6iriIbU7XqnJ8d K6x64VCrN9RIejgjgxpkyO2GgWlsPKLiOC/4UcAIJkL0ZnY8ZvOuscm7VVnqOWN7TVPt RRm4ZKJ/lkcrnpyFftEyRJ3MqYurCvjRrg4yw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=o4WrEADyIsAQtQK7IviB2J89xJjbSHQbTYleZc8RTPyXVjhhHrXRkAOJaIfxhtTIOi trHWkyi4fJiLPl0na6OFuCmJRSBX/kW6UjaIOOBniPB7w+ZHa/8CSvTjXDJryGIw7O4k 8Cjm5O9l+zbdZqn/eE9aTXPEXXnYpoX0buWZo= Received: by 10.216.71.196 with SMTP id r46mr1582458wed.54.1239649817376; Mon, 13 Apr 2009 12:10:17 -0700 (PDT) Received: from ?192.168.1.100? (dsl-240-11-65.telkomadsl.co.za [41.240.11.65]) by mx.google.com with ESMTPS id t12sm13769491gvd.20.2009.04.13.12.10.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 13 Apr 2009 12:10:16 -0700 (PDT) Message-ID: <49E38E10.3080102@gmail.com> Date: Mon, 13 Apr 2009 21:10:08 +0200 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Jeremy CC: internals@lists.php.net References: <49E352FD.6070008@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6? From: glen.84@gmail.com (Glen) It was not my intention to initiate a massive debate regarding the use of short_open_tag. I posted for two reasons: 1. To ask if short_open_tag has been deprecated in PHP 6. 2. To suggest asp_tags as the recommended option for templating in PHP (to keep both crowds* happy). * The crowd *for* the use of short_open_tag (I don't believe that they are in favour of this tag because of the particular characters used, but rather because of its shortness), and the crowd *against* its use (believing that, since PHP's primary use is for embedding code within HTML documents, it should respect the use of other processing instructions). Glen. Jeremy wrote: > Glen wrote: >> >> It's short, and it doesn't conflict with XML. >> > > I have to say, I don't understand all the hate on short_open_tag. So > what if it "conflicts" with XML? PHP is not XML. If you use an XML > construct in your PHP, escape it. PHP can generate a lot of other > languages, too -- should every construct from these languages be > forbidden in PHP as well? > > Jeremy >