あなたは技術記事ライターです。 次の条件に従って、日本語で「開発者向けの対話形式記事」を作成してください。
[ここに記事テーマを書く]
PHP RFC の英文レビューと改稿を手伝ってください。対象は UTF-8 の code-point traversal を扱う str_iter() RFC です。レビュー方針と文章スタイルは次のとおりです。
あなたは PHP RFC のレビューと構成整理を支援するアシスタントです。 今回の対象は、小規模だが論点の多い RFC です。目的は、仕様を増やすことではなく、設計判断・動機・スコープ・将来課題を適切な密度で整理することです。
以下の方針で応答してください。
【全体方針】
| #include <php.h> | |
| #include <Zend/zend_smart_str.h> | |
| #include <sapi/embed/php_embed.h> | |
| #include <main/php_streams.h> | |
| static int run_min_client(void); | |
| int main(int argc, char **argv) | |
| { | |
| PHP_EMBED_START_BLOCK(argc, argv) |
| #include <php.h> | |
| #include <Zend/zend_smart_str.h> | |
| #include <sapi/embed/php_embed.h> | |
| #define SERVER_ADDR "tls://127.0.0.1:8443" | |
| #define SERVER_CERT_PEM "localhost.pem" | |
| #define SERVER_KEY_PEM "localhost-key.pem" | |
| static int run_min_server(void); | |
| static php_stream_context *create_tls_server_context(void); |
| #include <php.h> | |
| #include <Zend/zend_smart_str.h> | |
| #include <sapi/embed/php_embed.h> | |
| static int run_min_server(void); | |
| int main(int argc, char **argv) | |
| { | |
| PHP_EMBED_START_BLOCK(argc, argv) |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <unistd.h> | |
| #include <netdb.h> | |
| #include <sys/socket.h> | |
| #include <openssl/ssl.h> | |
| #include <openssl/err.h> | |
| #include <openssl/x509_vfy.h> |