---
title: PHP-SDK - 3.9.1
slug: feature-experimentation/release-notes/php-sdk-3-9-1
docTags: 
createdAt: 2026-07-20T15:45:31.198Z
---

## [#391](docId\:mIu_946z-GSQdKuda_tJF)3.9.1

May 31st, 2022

### [#bug-fixes](docId\:mIu_946z-GSQdKuda_tJF)Bug Fixes

- Since php 8.1 internal functions are using proper return types. This results in deprecation notices for some of the methods. To suppress the notice for php8.1+ the new ReturnTypeWillChange attribute is added to the method in question. ([#242](https://github.com/optimizely/php-sdk/pull/242))
- In HTTPProjectConfigManager fetchDatafile function datafile should be a string. So it is fixed by using ->getContents() which returns string. ([#243](https://github.com/optimizely/php-sdk/pull/243), [#247](https://github.com/optimizely/php-sdk/pull/247))
- Return type should be `ProjectConfigInterface` when calling `createProjectConfigFromDatafile` method. ([#249](https://github.com/optimizely/php-sdk/pull/247))

[https://github.com/optimizely/php-sdk/releases/tag/3.9.1](https://github.com/optimizely/php-sdk/releases/tag/3.9.1)
