🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.php
Article #220212

getimagesize - kiedy błędy E_*

#220212
From: Grzesiek
Date: Tue, 18 Aug 2009 04:17
5 lines
976 bytes
Witam.
Czy może zdarzyć się sytuacja że getimagesize zwróci tablicę a zarazem
wyrzuci E_WARNING, E_NOTICE? Dokumentacja jest jakaś mętna. Chodzi mi o
to czy muszę pisać wrapper set_error_handler -> wyjątek czy wystarczy
samo if (!getimagesize..){throw...}?
Technical Details
Message-ID: <h6da0p$mar$1@inews.gazeta.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
From: Grzesiek <fr@in.tld>
Newsgroups: pl.comp.lang.php
Subject: getimagesize - kiedy błędy E_*
Date: Tue, 18 Aug 2009 06:17:30 +0200
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 5
Message-ID: <h6da0p$mar$1@inews.gazeta.pl>
NNTP-Posting-Host: 188.33.120.160
Mime-Version: 1.0
X-Trace: inews.gazeta.pl 1250569050 22875 188.33.120.160 (18 Aug 2009 04:17:30 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Tue, 18 Aug 2009 04:17:30 +0000 (UTC)
X-User: xorock
User-Agent: Thunderbird 2.0.0.22 (X11/20090605)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit