From f0f72f651d7c2e1f8c570a0c3a7421b4b136c76e Mon Sep 17 00:00:00 2001 From: tianfenghan Date: Fri, 26 Jun 2026 19:40:42 +0800 Subject: [PATCH] =?UTF-8?q?feat(examples):=20=E6=B7=BB=E5=8A=A0=E5=AD=97?= =?UTF-8?q?=E7=AC=A6=E4=B8=B2=E8=BF=9E=E6=8E=A5=E7=A4=BA=E4=BE=8B=E5=B9=B6?= =?UTF-8?q?=E6=94=B9=E8=BF=9Byield=E7=A4=BA=E4=BE=8B=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增 concat.php 示例文件展示字符串连接操作 - 修改 yield.php 示例中的输出方式为循环打印每个值 - 将 yield 示例的 var_dump 替换为更清晰的逐行输出格式 --- examples/concat.php | 7 +++++++ examples/yield.php | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 examples/concat.php diff --git a/examples/concat.php b/examples/concat.php new file mode 100644 index 00000000..9afd33e9 --- /dev/null +++ b/examples/concat.php @@ -0,0 +1,7 @@ +