Repository navigation
Fix deprecated ord() for PHP 8.4+ - #7
web-monster wants to merge 1 commit into
Conversation
|
@Alexandre-T Is it possible to merge this and create a new release? |
|
@Alexandre-T Friendly reminder this PR exists. Any way we can help to get this merged? |
|
Seems that this software has been abandoned. |
|
I'm looking into this. I'd like to check the test with an empty string. |
|
As I guess it, your solution doesn't ensure backward compatibility and throws a different error in case of an empty string. I'm working on a solution that won't impact the other libraries using this one.
I'm working on a better solution |
|
Job done with #9 ! I published a new release, the 3.0.1. |
Fix for PHP 8.4+.
Deprecated: ord(): Providing a string that is not one byte long is deprecated. Use ord($str[0]) instead