[TYPO3-core] RFC: getURL fix for error cases and curl

Dmitry Dulepov typo3 at accio.lv
Tue Aug 8 06:48:44 CEST 2006


Hi!

Martin Kutschker wrote:
> Ernesto Baschny [cron IT] schrieb:
>> Future vision/todo:
>> Make getURL return an array where we can specify more information about
>> the error cases and not just "false". Or when refactoring for 5.0 this
>> could be an object that is also able to store the error message.
> 
> I already suggested it, but there was not generally liked.
> 
> IMHO, we could also make getURL make a wrapper for a new version with 
> error reporting with an array (eg fetchURL).

+1 for this because introducing new function does not harm but changing 
old harms.

-- 
Dmitry Dulepov
ACCIO Ltd, Latvia
http://accio.lv/en/

"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)



More information about the TYPO3-team-core mailing list