Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43679 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34930 invoked from network); 13 Apr 2009 18:24:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Apr 2009 18:24:06 -0000 Authentication-Results: pb1.pair.com header.from=kalle.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=kalle.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 72.14.220.154 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: kalle.php@gmail.com X-Host-Fingerprint: 72.14.220.154 fg-out-1718.google.com Received: from [72.14.220.154] ([72.14.220.154:24659] helo=fg-out-1718.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7E/F5-22673-54383E94 for ; Mon, 13 Apr 2009 14:24:06 -0400 Received: by fg-out-1718.google.com with SMTP id l26so630325fgb.0 for ; Mon, 13 Apr 2009 11:24:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=ulVYYFNmgxgAuQRJIzZEcJx/ZTWXLWGC4d+oFxZzEKg=; b=cR5Sn9sOI1FlXvdrVnoQAAOZg8v5BhsH+luy2QrFyuG+e0sGilNr0TAvp4g/zyjVB7 2ZkgvMTMXyYtqJz13gtd21lgczDhkf169IKtQf3S/LO06acvWwNpC/i7NmM660fR8pA1 T87g2WWK2dgeOc9hexK4YPIgAJfkBIfvUlVUo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=XNI0t3IT/AUnOca2lcI9gcFnIBX/PhbEfnkeNQ0fDbRAVD20gQdEoIGFLmMMlDR8b5 MA7rg9hpHIUKouszodop6tujjBWhoCxG3MS7S1T7qrm8TYTaHVn1hvG2SSjmgxczHpjb O3c7u6m5z96MEJ/ZzffJ5XC9C1ax7k4aE2I4A= MIME-Version: 1.0 Sender: kalle.php@gmail.com Received: by 10.86.95.20 with SMTP id s20mr4975281fgb.43.1239647042419; Mon, 13 Apr 2009 11:24:02 -0700 (PDT) In-Reply-To: References: <49E352FD.6070008@gmail.com> Date: Mon, 13 Apr 2009 20:24:02 +0200 X-Google-Sender-Auth: 1b9a033d5f48ab1d Message-ID: <2dedb8a0904131124u57f2f32ei27083a289f7f18a4@mail.gmail.com> To: Jeremy Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6? From: kalle@php.net (Kalle Sommer Nielsen) 2009/4/13 Jeremy : > 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. =A0So w= hat > if it "conflicts" with XML? =A0PHP is not XML. =A0If you use an XML const= ruct in > your PHP, escape it. =A0PHP can generate a lot of other languages, too -- > should every construct from these languages be forbidden in PHP as well? Thats because with short_open_tags on, you need to use: '); ?> to print the XML declaring, with short open tags, the xml part is considered a piece of code, which causes a syntax error > > Jeremy > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --=20 Kalle Sommer Nielsen kalle@php.net