You are here: Re: use strict? « PHP Programming Language « IT news, forums, messages
Re: use strict?

Posted by Ewoud Dronkert on 06/17/05 12:30

On Fri, 17 Jun 2005 08:58:18 GMT, p cooper wrote:
> is there a PHP equivalent of the perl
> use strict
> to prevent bozos like me wasting time?

Not exactly, but there's

error_reporting( E_ALL | E_STRICT );

E_STRICT was added in PHP5. See http://php.net/error-reporting (and
ini-setting display_errors).


--
Firefox Web Browser - Rediscover the web - http://getffox.com/
Thunderbird E-mail and Newsgroups - http://gettbird.com/

 

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

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