Swoole v4.5.9 is released, compatible with PHP8!

PHP8 has now been officially released. It introduces some major changes, as well as many new features and performance optimizations, including named parameters, union types, annotations, Constructor Property Promotion, match expressions, nullsafe operators, JIT, and the type system, Error handling and consistency improvements.

Swoole is also compatible for the first time and can be used with PHP8. Friends who need to use Swoole in PHP8 can use this version directly. Other lower versions may fail to compile.

Update log

Enhance

  • Add SWOOLE_HTTP_CLIENT_ESTATUS_SEND_FAILED constant to CoroutineHttpClient (#3873) (@sy-records)

repair

  • Compatible with PHP8 (#3868) (#3869) (#3872) (@twose) (@huanghantao) (@doubaokun)
  • Fix undefined constants CURLOPT_HEADEROPT and CURLOPT_PROXYHEADER (swoole/library#77) (@sy-records)
  • 修复 CURLOPT_USERPWD (swoole/library@7952a7b) (@twose)

Guess you like

Origin www.oschina.net/news/121787/swoole-4-5-9-released