lisachenko / z-engine

:zap: PHP Engine Direct API
MIT License
448 stars 22 forks source link

[Bug] Fix opcache compilation warning #29

Closed lisachenko closed 4 years ago

lisachenko commented 4 years ago

During preloading of all files from the src folder, there are several loaded core files, thus opcache_compile_file triggers warning about existing classes in memory.

Need to verify if script is cached via opcache_is_script_cached($fileName) function.