-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP 7.2 compatibility issue #55
Comments
Btw, there's a bunch of other warnings as well, due to 'each' being deprecated... |
Fixed in 4.2.1. @HMAZonderland the fixes for supporting php 7.2 did not require any major change / hacks in regard to still supporting php 5.3. So we are not yet at needing the next 'big upgrade' :-) |
@gggeek this issue is mentioned in 4.3.0 changelog: https://github.com/gggeek/phpxmlrpc/releases/tag/4.3.0
but this has nothing to do with digest or curl mode. wrong ticket id in release notes? |
Thx for noticing, fixed the NEWS file. The correct ticket number is #58 |
please edit the release in github as well. thanks |
done |
I am having issue with each() too. The each() function is deprecated. This message will be suppressed on further calls For -
In -
|
@sougatabose07 which version of the library are you using? Version 4.2.1 or 4.3 should have fixed the problem |
@gggeek its the master branch I installed (4.3.1). I have changed it to older version 3.1.1 and implementing only the lib/ files for now. |
@gggeek this is the Problem, can you fix that quickly? Thanks lib/xmlrpc.inc:3183
|
@strausmann create new issue. don't comment on already solved tickets! |
@strausmann I can fix that by silencing the warning, and release version 4.3.2. Having said that, I do encourage any users to move to the new api when using version 4 of the library and progressively abandon the compatibility layer. |
@gggeek Thank you. A better HowTo to use the v4 are very good. Incl. the Encoder Class ;-) |
In PHP 7.2 (tested with beta 2) there's an issue in the Request class:
In PHP 7.2 you will no longer be able to send strings into
count()
so this needs to be changed in order to support PHP 7.2Source: https://wiki.php.net/rfc/counting_non_countables
The text was updated successfully, but these errors were encountered: