1.x - 4.xThe version also provides
PSR-0Standardized Underline Style Class Names and
PSR-4Namespace style of. At present
PSR-0The specification is already in
21 October 2014Marked as abandoned, the latest replacement specification is
In the latest
5In the version we plan toCompletely Remove Underlined Class Names. Please, everyone
SwooleThe user gradually changed the class name to
PSR-4Standardized pure namespace style.
SwooleWe are gradually reconstructing and removing the old and backward design, which will become more and more exquisite in the future.
$server = new Swoole\Http\Server; $server = new Swoole\Server; $client = new Swoole\Coroutine\Http\Client; $client = new Co\Http\Client;
$server = new Swoole_Http_Server; $server = new Swoole_Server; $client = new Swoole_Coroutine_Http_Client; $client = new Co_Http_Client;
5.0Underline class names will no longer be supported in the version, those using the above style codes
PHPFatal error that does not exist in the report class