Compatibility with PHP 8.2
andypost opened this issue · 2 comments
andypost commented
Building it against 8.2_alpha1 I'm getting some tests failed
TEST 5/67 [tests/apc_002.phpt]
========DIFF========
object(foo)#%d (0) {
}
object(foo)#%d (0) {
005+
006+ Deprecated: Creation of dynamic property foo::$a is deprecated in /home/skilld/aports/testing/php82-pecl-apcu/src/apcu-5.1.21/tests/apc_002.php on line 10
object(foo)#%d (1) {
["a"]=>
bool(true)
--
========DONE========
FAIL APC: apcu_store/fetch with objects [tests/apc_002.phpt]
TEST 6/67 [tests/apc_003b.phpt]
========DIFF========
object(foo)#%d (0) {
}
object(foo)#%d (0) {
005+
006+ Deprecated: Creation of dynamic property foo::$a is deprecated in /home/skilld/aports/testing/php82-pecl-apcu/src/apcu-5.1.21/tests/apc_003b.php on line 10
object(foo)#%d (1) {
["a"]=>
bool(true)
011+
012+ Deprecated: Creation of dynamic property baz::$bar is deprecated in /home/skilld/aports/testing/php82-pecl-apcu/src/apcu-5.1.21/tests/apc_003b.php on line 21
013+
014+ Deprecated: Creation of dynamic property baz::$baz is deprecated in /home/skilld/aports/testing/php82-pecl-apcu/src/apcu-5.1.21/tests/apc_003b.php on line 37
object(baz)#%d (6) {
["pub"]=>
string(3) "bar"
--
========DONE========
FAIL APC: apcu_store/fetch with objects [tests/apc_003b.phpt]
TEST 24/67 [tests/apc_017.phpt]
========DIFF========
001+
001- int(1)
========DONE========
FAIL APC should not preserve the IAP [tests/apc_017.phpt]
TEST 40/67 [tests/apc_store_array_with_refs.phpt]
========DIFF========
001+
001- array(2) {
002- [0]=>
003- &NULL
004- [1]=>
005- &NULL
006- }
========DONE========
FAIL Store array that references same value twice [tests/apc_store_array_with_refs.phpt]
nikic commented
Compatibility with PHP 8.2 should be fixed now.
andypost commented
Is there any schedule for new release? I hope after beta1 it makes sense