---
title: PHP-SDK - 3.7.0
slug: feature-experimentation/release-notes/php-sdk-3-7-0
docTags: 
createdAt: 2026-07-20T15:45:10.133Z
---

## 3.7.0

February 17th, 2021

### New Features:

Introducing a new primary interface for retrieving feature flag status, configuration and associated experiment decisions for users (\[#220]\([https://github.com/optimizely/php-sdk/pull/220](https://github.com/optimizely/php-sdk/pull/220)), \[#224]\([https://github.com/optimizely/php-sdk/pull/224](https://github.com/optimizely/php-sdk/pull/224))). The new \`OptimizelyUserContext\` class is instantiated with \`createUserContext\` and exposes the following APIs to get \`OptimizelyDecision\`:

- setAttribute
- decide
- decideAll
- decideForKeys
- trackEvent

For details, refer to our documentation page: [https://docs.developers.optimizely.com/full-stack/v4.0/docs/php-sdk](docId\:cK1rttCFC6WVHOBHCUoMV).

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