You are here: Re[2]: [PHP] Is echo tag reasonably portable? « PHP « IT news, forums, messages
Re[2]: [PHP] Is echo tag reasonably portable?

Posted by Richard Davey on 11/15/05 21:00

Hi Robin,

Tuesday, November 15, 2005, 6:18:06 PM, you wrote:

> Short tags have been deprecated for years. Both the manual and the
> php.ini file itself advise people not to use them. Personally I
> think it's about time they were turned off by default, but that's
> bound to annoy a lot of people who've ignored the warnings.

1) They are not deprecated.

2) The manual does not advise people not to use them per se. You're
missing out the entire context in which it advises against them.

3) The php.ini file does not advise people not to use them per se. You're
missing out the entire context in which it advises against them.

I doubt very much if they will be disabled. They are perfectly valid
SGML processing instructions.

I agree they are a legacy of the PHP3 era, and for re-distributable
apps you should avoid them. But that is all. Your statements are, in
their brevity, incorrect.

Cheers,

Rich
--
Zend Certified Engineer
PHP Development Services
http://www.corephp.co.uk

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация