xp-framework / core

The XP Framework is an all-purpose, object oriented PHP framework.
Other
19 stars 6 forks source link

Array to string conversion when reading property sections with arrays or maps #315

Closed thekid closed 2 years ago

thekid commented 2 years ago

When reading the following INI file, an Array to string conversion error is raised from preg_replace_callback() inside the util.PropertyExpansion class:

[section]
values[]=${env.HOME}
values[]=${env.HOMEPATH}
thekid commented 2 years ago

Fix included in https://github.com/xp-framework/core/releases/tag/v11.4.1