[
https://issues.apache.org/jira/browse/THRIFT-5754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jens Geyer resolved THRIFT-5754.
--------------------------------
Fix Version/s: 0.20.0
Assignee: Pavel Kvach
Resolution: Fixed
> 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
> Assignee: Pavel Kvach
> Priority: Minor
> Fix For: 0.20.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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)