You are here: Re: when does require() not require « PHP Programming Language « IT news, forums, messages
Re: when does require() not require

Posted by Matthew Crouch on 10/26/26 11:33

Sean wrote:
> Try
>
> $old_value = ini_set('display_errors', 'on');
>
> if ($old_value === false)
> print "Nope";
> else
> print "It worked: old value was $old_value";
>
> Something tells me though its probably not going to work.
>
it says it worked but it didn't, because ini_set returns a string, not a
boolean. the correct comparison ($old_value == false) says "Nope"

 

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

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