core
core copied to clipboard
`2.1.0` - Incorrect Column Retrieval in PHP `8.x`
Hey @JJJ,
I believe this change https://github.com/berlindb/core/commit/b8fdfc6c45abb13d66ce1894896a747ca3933dcf in release/2.1.0
is having unintended side effects in PHP 8.x
In 8.x
the $columns
value remains the same as the first time it is retrieved.
In 7.4
the $columns
value updates with new class instances.
You can see the difference here: https://onlinephp.io/c/b236e
I believe it's because of this: https://wiki.php.net/rfc/static_variable_inheritance