Unleash/unleash-client-php

Bug: Can't use temporary expression in write context

Closed this issue · 3 comments

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

https://github.com/Unleash/unleash-client-php/blob/v2.4.183/src/Unleash.php#L10

This change started erroring out. "Can't use temporary expression in write context"

data type should be removed from const.

To reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Sample code (optional)

No response

Version

v2.4.183

Expected behavior

data type should be removed from const.

Logs (optional)

No response

Additional context (optional)

No response

It seems like your build system uses a newer version of php than your servers. Please make sure that you're installing the package on the php version that will actually run the code.

@pure4499 Has that solved your issue? Please let me know, otherwise I'll be closing the issue soon.

Haven't gotten any response, closing.