[TYPO3-core] RFC #9285: Remove all @ in front of file_exists() calls
Dmitry Dulepov [typo3]
dmitry at typo3.org
Thu Sep 4 07:23:28 CEST 2008
Hi!
Ingo Renner wrote:
> Problem:
> The use of the @ character in front of functions to surpress warnings
> costs a lot of performance, and in case of file_exists() is not needed
> anymore since a bug with this function throwing warnings has been fixed
> in PHP in 2003 already.
>
> Solution:
> remove the @ characters in front of file_exists()
-1 because it causes PHP warnings if file does not exist.
--
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/
More information about the TYPO3-team-core
mailing list