-
Notifications
You must be signed in to change notification settings - Fork 282
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.0.x 弃用的功能:静态调用非静态的方法 #16
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
根据官方文档:PHP 7.0.x 弃用的功能→静态调用非静态的方法
![01](https://user-images.githubusercontent.com/36061058/40469132-1545b54e-5f62-11e8-8ac2-4e64354e3d85.png)
http://www.php.net/manual/zh/migration70.deprecated.php
在weworkapi_php-master\api\src\CorpAPI.class.php中,有多处静态调用Utils::Object2Array,会报错:
Deprecated: Non-static method Utils::Object2Array() should not be called statically in D:\Software\Wampserver\www\weworkapi_php-master\api\src\CorpAPI.class.php on line 438
Deprecated: Non-static method Utils::Object2Array() should not be called statically in D:\Software\Wampserver\www\weworkapi_php-master\utils\Utils.class.php on line 75
The text was updated successfully, but these errors were encountered: