Reply to Re: date() gives me yesterday's date and not today's - why?

Your name:

Reply:


Posted by rlee0001 on 02/12/06 02:46

Huh? What do specs have to do with portability?

<?= isn't portable. That means that using it will fail on some servers.
<?php echo... will run on any server where PHP is enabled regardless of
the server's configuration.

While you may have your development machine configured to accept the
malformed <?= syntax, once you move the code to a production server the
scripts may fail to parse correctly. As a result it is recommended by
the PHP Manual that developers: a) Disable short tag support on
development machines (to emulate the worst case scenario) and b) Never
use the short tags syntax.

The same holds true for "register globals" and other early PHP design
flaws.

-Robert

[Back to original 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

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