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

Ingo Renner ingo at typo3.org
Sun Aug 31 16:28:46 CEST 2008


Dmitry Dulepov [typo3] wrote:


Dmitry,

> Solution: trivial, use @ in front of ini_set() and ini_restore() to mask 
> warnings.

Please try to come up with a different solution than supressing the 
warning with an @. The @ character is the most performance hitting 
single character PHP offers... Please use an if() to check whether 
ini_set is available...

@see http://ilia.ws/files/ez_performance.pdf - Slide 23

In general supressing warnings is never a good idea!



best
Ingo

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


More information about the TYPO3-team-core mailing list