Article View: pl.comp.lang.php
Article #219924Re: !isset - zbędna negacja?
From: ant
Date: Fri, 31 Jul 2009 12:17
Date: Fri, 31 Jul 2009 12:17
18 lines
1766 bytes
1766 bytes
hazet wrote: > po zmianie z require na include również wyświetla fatal error i > zatrzymuje skrypt gdy załączanego pliku nie ma > INCLUDE: > "Warning: include(./normalny.php) [function.include]: failed to open > stream: No such file or directory in C:\Program > Files\WebServ\httpd\php\index.php on line 9 > > Warning: include() [function.include]: Failed opening './normalny.php' > for inclusion (include_path='.;C:\php5\pear') in C:\Program > Files\WebServ\httpd\php\index.php on line 9 > > Fatal error: Call to undefined function pokaztytul() in C:\Program > Files\WebServ\httpd\php\index.php on line 12" Zauważyłeś, że po zmianie na include brak pliku spowodował tylko WARNING, a dopiero próba użycia w kodzie funkcji pokaztytul() spowodowała FATAL ERROR?
Technical Details
Message-ID:
<h4ungl$o4v$2@atlantis.news.neostrada.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!nf1.ipartners.pl!ipartners.pl!plix.pl!newsfeed1.plix.pl!newsfeed.neostrada.pl!atlantis.news.neostrada.pl!news.neostrada.pl!not-for-mailReferences:
<h4s5jk$1rf$1@inews.gazeta.pl> <h4s6bb$o1b$2@atlantis.news.neostrada.pl> <h4s6so$7p5$1@inews.gazeta.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!nf1.ipartners.pl!ipartners.pl!plix.pl!newsfeed1.plix.pl!newsfeed.neostrada.pl!atlantis.news.neostrada.pl!news.neostrada.pl!not-for-mail From: ant <ant@nowhere.tld> Newsgroups: pl.comp.lang.php Subject: Re: !isset - zbędna negacja? Date: Fri, 31 Jul 2009 14:17:49 +0200 Organization: TP - http://www.tp.pl/ Lines: 18 Message-ID: <h4ungl$o4v$2@atlantis.news.neostrada.pl> References: <h4s5jk$1rf$1@inews.gazeta.pl> <h4s6bb$o1b$2@atlantis.news.neostrada.pl> <h4s6so$7p5$1@inews.gazeta.pl> NNTP-Posting-Host: 79.189.151.28 Mime-Version: 1.0 X-Trace: atlantis.news.neostrada.pl 1249042773 24735 79.189.151.28 (31 Jul 2009 12:19:33 GMT) X-Complaints-To: usenet@news.neostrada.pl NNTP-Posting-Date: Fri, 31 Jul 2009 12:19:33 +0000 (UTC) User-Agent: Thunderbird 2.0.0.17 (X11/20080927) In-Reply-To: <h4s6so$7p5$1@inews.gazeta.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit