0hr / php-webview

PHP bindings for Webview
56 stars 5 forks source link

Why need minimum PHP 8.2 ? #4

Open joanhey opened 1 year ago

joanhey commented 1 year ago

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.

:+1: for this webview !!!

0hr commented 1 year ago

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 commented 1 year ago

It's only necessary minimum PHP 8.0.

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