Pavel Kvach created THRIFT-5754: ----------------------------------- Summary: Fix PHP 8.1 deprecates passing null to non-nullable internal function parameters Key: THRIFT-5754 URL: https://issues.apache.org/jira/browse/THRIFT-5754 Project: Thrift Issue Type: Bug Components: PHP - Library Reporter: Pavel Kvach
PHP 8.1 has deprecated passing null values to non-nullable internal function parameters: [https://wiki.php.net/rfc/deprecate_null_to_scalar_internal_arg] This can lead to deprecation warnings and potential errors in future versions. Example of a deprecation warning: {code:java} PHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in Thrift/StringFunc/Core.php on line 38 {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)