1. Open https://github.com/hprose/hprose-php/blob/master/README_zh_CN.md and download Hprose for PHP;
2. Use http://www.hprose1.com/http_server.php as the server. The execution result is shown in Figure 1:
Using http://www.hprose1.com/http_server.php as the server, execution result
3. Use http://www.hprose2.com/http_client.php as the client. The execution result is shown in Figure 2, which throws the following error:
Using http://www.hprose2.com/http_client.php as the client, execution result, error: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version.
4. Set always_populate_raw_post_data = -1 in the php.ini file. Run http://www.hprose2.com/http_client.php as the client again, and the execution result is shown in Figure 3:
Setting always_populate_raw_post_data = -1 in the php.ini fileUsing http://www.hprose2.com/http_client.php as the client, execution result again: Hello World