Fork自 易企天创 / zendata
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
#!/usr/bin/env php <?php /** [case]
title=格式化字符串 cid=1345 pid=7
[group]
显示10行生成的数据 >> 验证第3行数据 >>
[esac] */ include_once __DIR__ . DIRECTORY_SEPARATOR . '../lib/zd.php'; $zd = new zendata(); $output = $zd->create("", "default.yaml", 10, "", array("fields"=>"field_format")); $count = sprintf("%d", count($output)); print(">> $count\n"); print(">> $output[2]\n");