We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP Fatal error: Uncaught Error: Class 'Hprose\BytesIO' not found in /www/hprose-php/src/Hprose/RPC/Core/DefaultServiceCodec.php:31
代码
The text was updated successfully, but these errors were encountered:
PHP Fatal error: Uncaught Error: Class 'Hprose\BytesIO' not found in /www/hprose-php/src/Hprose/RPC/Core/DefaultServiceCodec.php:31 代码
include '/www/hprose-php/src/Hprose.php';
use Hprose\RPC\Http\HttpServer; use Hprose\RPC\Service;
function hello(string $name): string { return "Hello " . $name . "!"; }
$service = new Service(); $service->addCallable("hello", "hello"); $server = new HttpServer(); $service->bind($server); $server->listen(); ~
Sorry, something went wrong.
需要安装 hprose 的 pecl 扩展。
好的,谢谢!
No branches or pull requests
PHP Fatal error: Uncaught Error: Class 'Hprose\BytesIO' not found in /www/hprose-php/src/Hprose/RPC/Core/DefaultServiceCodec.php:31
代码
addCallable("hello", "hello"); $server = new HttpServer(); $service->bind($server); $server->listen(); ~The text was updated successfully, but these errors were encountered: