basvanbeek / embed2-sapi

An alternative PHP SAPI to allow embedding of PHP and concurrent PHP script usage in multi-threaded applications.
22 stars 1 forks source link

PHP7 support? #2

Open herb123456 opened 6 years ago

herb123456 commented 6 years ago

Is it possible to support php7?

basvanbeek commented 6 years ago

Unfortunately I won't be able to help as I've moved away from using PHP entirely and have not looked at PHP7 at all.

herb123456 commented 6 years ago

ok, I know this is not yours responsibility, but Can you tell me the key point that php can run concurrently?

basvanbeek commented 6 years ago

Key point: your application uses threads and you need to be able to run embedded php scripts in those threads and they can occur concurrently. Most people do not have this requirement.

If you can run your embedded php scripts in a single thread or you can serialize running them you probably won't need it, even if your application uses threads.