Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When use swoole in php 8.2,Swoole\Http2\Request may throw ErrorException:Creation of dynamic property $usePipelineRead #5127

Closed
894480109 opened this issue Aug 16, 2023 · 0 comments
Labels

Comments

@894480109
Copy link

Please answer these questions before submitting your issue.

  1. What did you do? If possible, provide a simple script for reproducing the error.
$request = new Swoole\Http2\Request();
$request->usePipelineRead = true;

I saw the usePipelineRead was supported in https://github.com/swoole/swoole-src/pull/3354

  1. What did you expect to see?

Do not throw Exception

  1. What did you see instead?

Creation of dynamic property Swoole\Http2\Request::$usePipelineRead is deprecated

  1. What version of Swoole are you using (show your php --ri swoole)?

5.0.3

  1. What is your machine environment used (show your uname -a & php -v & gcc -v) ?

php version is 8.2.8

@894480109 894480109 changed the title When use swoole in php 8.2,Swoole\Http2\Request may throw ErrorException:Creation of dynamic property When use swoole in php 8.2,Swoole\Http2\Request may throw ErrorException:Creation of dynamic property $usePipelineRead Aug 16, 2023
matyhtf pushed a commit that referenced this issue Aug 19, 2023
@matyhtf matyhtf closed this as completed Aug 19, 2023
@matyhtf matyhtf added the fixed label Aug 19, 2023
matyhtf pushed a commit that referenced this issue Aug 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants