Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43688 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88333 invoked from network); 13 Apr 2009 22:48:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Apr 2009 22:48:50 -0000 Authentication-Results: pb1.pair.com header.from=kkooporation@googlemail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=kkooporation@googlemail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 209.85.218.167 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: kkooporation@googlemail.com X-Host-Fingerprint: 209.85.218.167 mail-bw0-f167.google.com Received: from [209.85.218.167] ([209.85.218.167:58377] helo=mail-bw0-f167.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6D/20-22673-F41C3E94 for ; Mon, 13 Apr 2009 18:48:48 -0400 Received: by bwz11 with SMTP id 11so2247322bwz.23 for ; Mon, 13 Apr 2009 15:48:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type; bh=5aEXXTv1Z4bd0fqwg6DcV9rT0VYBFdDHvr0+Wg/NZiM=; b=FTgWyocXu4LX7KxXTjxgeMiuaqUrpxS7r79KYTsw0RzWSC/jdes9EwsXofHpP3+kL8 jyPG8lYUsEXBs/RsrWAks0OILnktI+V1ndlqhOtM8VF7Ogpbp2F5EBwm0SCKwU8udOsJ f5PFrGCygprku/YwKPbw4/3+zYO+8qMeCmhnQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=L+kEgfWDCi5AvtMjiofVkM+LTXrqxgTgu6VOh8LTlzAcJ22lhU5hDPSq2mCcmzuRjo IfF07yg/Fmft/kHVx01UkwB0ZDNA43pyJaMmmLRbZz3siEk5rMjc45I9goxXnxpKO6BN 3R9PQtuRHqYO84S1gGrU1osDE+7ZSUgzFWe8c= MIME-Version: 1.0 Sender: kkooporation@googlemail.com Received: by 10.204.121.131 with SMTP id h3mr6295314bkr.172.1239662924131; Mon, 13 Apr 2009 15:48:44 -0700 (PDT) In-Reply-To: References: <49E352FD.6070008@gmail.com> <2dedb8a0904131124u57f2f32ei27083a289f7f18a4@mail.gmail.com> <49E39B3C.2020401@zend.com> Date: Tue, 14 Apr 2009 00:48:29 +0200 X-Google-Sender-Auth: f350e6c81d82555c Message-ID: To: Philip Olson Cc: Stanislav Malyshev , Kalle Sommer Nielsen , Jeremy , internals@lists.php.net Content-Type: multipart/alternative; boundary=001636c5a4af3bed8c046777841d Subject: Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6? From: kureal@kkooporation.de (Kenan Sulayman) --001636c5a4af3bed8c046777841d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hey Guys, Whenever I start an XHTML document, I do escape it this way: <xml version="1.0" encoding="utf-8"?> Where the equals equals So, please do not deprecate it - because it's important for me :$ Thanks, (c) Kenan Sulayman Freelance Designer and Programmer Life's Live Poetry 2009/4/14 Philip Olson > > Today this topic may be the cloudiest and most heated in all of PHP. Here's > the factual history of our poor little short_open_tag directive: > > ------------------------------------------------ > php.ini values : short_open_tag > ------------------------------------------------ > > PHP 4, 5_0 > * Default behaviour : on > * php.ini-dist : on > * php.ini-recommended : on > > PHP 5_1, 5_2: > * Default behaviour : on > * php.ini-dist : on > * php.ini-recommended : off > > PHP 5_3: > * Default behaviour : on > * php.ini-development : off > * php.ini-production : off > > ------------------------------------------------ > php.ini descriptions : short_open_tag > ------------------------------------------------ > > In 5_2 our reason for discouraging it is: > > ; - short_open_tag = Off [Portability] > ; Using short tags is discouraged when developing code meant for > redistribution > ; since short tags may not be supported on the target server. > ; Allow the tags are recognized. > ; NOTE: Using short tags should be avoided when developing applications or > ; libraries that are meant for redistribution, or deployment on PHP > ; servers which are not under your control, because short tags may not > ; be supported on the target server. For portable, redistributable code, > ; be sure not to use short tags. > > In 5_3 it's: > > ; This directive determines whether or not PHP will recognize code between > ; tags as PHP source which should be processed as such. It's been > ; recommended for several years that you not use the short tag "short cut" > and > ; instead to use the full tag combination. With the wide > spread use > ; of XML and use of these tags by other languages, the server can become > easily > ; confused and end up parsing the wrong code in the wrong context. But > because > ; this short cut has been a feature for such a long time, it's currently > still > ; supported for backwards compatibility, but we recommend you don't use > them. > > ------------------------------------------------ > > This history strongly suggests PHP is hoping and subtly forcing the world > to stop using this directive, and although it's not deprecated the wording > and treatment makes it feel it could be any day now. This situation must be > clarified before 5_3 is released, and will likely require our BDFL to do it. > > In related news, what came of this RFC? It still says "Under Discussion": > > - http://wiki.php.net/rfc/shortags > > Regards, > Philip > > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --001636c5a4af3bed8c046777841d--