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

Why need minimum PHP 8.2 ? #4

Open
joanhey opened this issue Sep 25, 2023 · 2 comments
Open

Why need minimum PHP 8.2 ? #4

joanhey opened this issue Sep 25, 2023 · 2 comments
Assignees

Comments

@joanhey
Copy link
Contributor

joanhey commented Sep 25, 2023

The FFI is available from PHP 7.4.

I was looking for a lot of time for a Webview to use with Workerman, wihout need to compile first.
Later I'll try to add an example.

👍 for this webview !!!

@0hr 0hr self-assigned this Sep 30, 2023
@0hr
Copy link
Owner

0hr commented Sep 30, 2023

Hello

Yes, you are right. ffi is available from PHP 7.4. php-webview doesn't support 7.4 because syntax is >=8, enums, constructor properties, match etc. When i have a free time, i may change to support php 7.4.

I will keep open this issue till i will decide.

@joanhey
Copy link
Contributor Author

joanhey commented Sep 30, 2023

It's only necessary minimum PHP 8.0.

https://www.php.net/supported-versions.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants