Bug #54593

ini_get return value has changed for PHP >=5.3.0 -> changed check-implementation needed!

Added by Chr is almost 6 years ago.

Status:
New
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-12-25
Due date:
% Done:

0%


Description

There is a function ini_get(...) used in

  TYPO3-Neos/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Core/Bootstrap.php

The return value is checked to the presence of an empty string like this:

  if (ini_get('date.timezone') === '') {
  // payload
  }

The return value has changed for PHP Versions >=5.3.0

See PHP Changelog1 for function ini_get(...):

5.3.0 Previously, the empty string was returned if the configuration option didn't exist. now, FALSE is returned instead.

[1] http://www.php.net/manual/en/function.ini-get.php

Also available in: Atom PDF