Re: Is echo tag reasonably portable?

From: Date: Tue, 15 Nov 2005 16:04:09 +0000
Subject: Re: Is echo tag reasonably portable?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-225825@lists.php.net to get a copy of this message
Roman Ivanov wrote:
Robin Vickery wrote:
On 11/15/05, Roman Ivanov <gamblergluck@yahoo.com> wrote:
Can '<?=' be used for templates, or is it "a bad thing"?
The manual's reasonably explicit on the subject: "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."
I've seen this note. But I haven't seen a single server where short tags were disabled.
Look at any box I have set up. Not to mention the fact that chances are, you've probably only 'seen' a fraction of the existing php enabled web servers out there -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Holdings of Buffalo 716.856.9675 jnichel@dotcomholdingsofbuffalo.com

« previous php.general (#225825) next »