[TYPO3-core] RFC: #847: error in tslib_fe->getFromCache()
Dmitry Dulepov [typo3]
dmitry at typo3.org
Fri Jul 25 23:15:04 CEST 2008
Hi!
Francois Suter wrote:
> Are you sure? Normally what you get in such cases is a warning that the
> variable is not initialised. This why isset() is useful. Obviously this
> depends on the level of error reporting of your local PHP install, but
> it's cleaner to test if a variable is set before testing it.
Yes, I am sure. It will return null and you may E_NOTICE, which however is disabled in PHP by default. Additionally you are not supposed to have error reporting turned on in production.
--
Dmitry Dulepov
TYPO3 Core team
Latest article: http://typo3bloke.net/post-details/do_not_ask_more_than_you_need/
More about TYPO3: http://typo3bloke.net/
Subscribe: http://typo3bloke.net/rss.xml
More information about the TYPO3-team-core
mailing list