[TYPO3-core] FYI24: #8826: calls to ini_set produces warnings

Ingo Renner ingo at typo3.org
Mon Sep 1 19:04:43 CEST 2008


Dmitry Dulepov [typo3] wrote:

> Such check is not reliable. function_exists() and is_callable() will 
> both return true. 

ok, too bad than

> In any case we already have lots of 
> @, even in loops (and can't get rid of them, like in file_exists case). 
> So in this bug @ is the best solution.

This is no argument that satisfies the addition of even more @s.

For the file_exists case: Change it to throw exceptions...


Ingo

-- 
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2


More information about the TYPO3-team-core mailing list