pecl-numbers-bitset icon indicating copy to clipboard operation
pecl-numbers-bitset copied to clipboard

Fix __toString prototype with PHP 8.2

Open remicollet opened this issue 3 years ago • 1 comments

remicollet avatar Sep 09 '22 14:09 remicollet

Just a question -> I am getting this annoying message as well:

Warning: BitSet::__toString() implemented without string return type in Unknown on line 0

I guess this is a fix, right? Is there any info if this can be merged? Is there anyway I can help?

Thanks and best!

TheCelavi avatar Dec 09 '22 14:12 TheCelavi

@willfitch do you still maintain this extension ?

remicollet avatar Apr 28 '23 05:04 remicollet

Rewritten to use PHP 8 new features

  • generate arginfo from stub file
  • add type hinting for parameters
  • add return type
  • use RETURN_THROWS
  • call zend_parse_parameters_none for void method

remicollet avatar Apr 28 '23 12:04 remicollet