luyadev / luya

LUYA is a scalable web framework and content management system with the goal to please developers, clients and users alike.
https://luya.io
MIT License
812 stars 207 forks source link

luya\Config closure bug #1987

Closed nadar closed 4 years ago

nadar commented 4 years ago

Serialize the arrayable input will throw an exception when working with closures, therefore maybe try to use: array keys + length + env = unique identifier

https://github.com/luyadev/luya/blob/master/core/Config.php#L155