INI_SCANNER_TYPED: New in PHP 5.6 or PHP 7?
| From: | Sebastian Bergmann | Date: | Tue, 01 Dec 2015 09:11:46 +0000 |
| Subject: | INI_SCANNER_TYPED: New in PHP 5.6 or PHP 7? | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-89506@lists.php.net to get a copy of this message | ||
According to UPGRADING [1], INI_SCANNER_TYPED was added in PHP 7:
"- parse_ini_file():
- parse_ini_string():
. Added scanner mode INI_SCANNER_TYPED to yield typed
.ini values."
However, the INI_SCANNER_TYPED constant already exists in
PHP-5.6 and seems to be actually used.
--
[1] http://git.php.net/?p=php-src.git;a=blob_plain;f=UPGRADING;hb=PHP-7.0.0