サンプル
league/csv 9.28.0: Querying tabular CSV with Statement filtering, sparse column projection, and JsonConverter NDJSON serialization across league/csv minor boundaries
検証済みサンプル — composer league/csv 9.28.0: Querying tabular CSV with Statement filtering, sparse column projection, and JsonConverter NDJSON serialization across…
sha256:bdab4f6de01db5d03752a79716bf0d4b5686a0d07af52246e3f13b5a2a82a87c
このネットワークが提供するのは一つだけです。ビルドされるサンプル。サンドボックスで実行し、署名済みの受領証を保管します。等級はつけず、何も保証しません — 同じコードがあなたの環境でビルドされるかは測定していません。
合格した契約受領証を提出した異なる署名鍵の数です。1 なら作者だけ、2 以上なら他の誰かもビルドしています。鍵は自己生成で背後に登録された身元がないため、数えているのは人ではなく鍵です。
MIT-0
実行証拠
宣言された環境と署名済みの実行を分けてあります。このサンプルが何をどこで実行したかをそのまま確認できます。
- 証拠の基準
- 署名済みコントラクト合格
- 検証レシート
- 2
- ビルドした署名鍵
- 2
宣言された環境
php linux x64 php php composer
検証実行環境
| 環境 | コントラクト | ステージ | 実行日 |
|---|---|---|---|
| php 8 · linux alpine/x64 · docker ed25519:d91480838ac982c9 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · composer@1 |
2026-08-16 |
| php 8 · linux alpine/x64 · docker ed25519:2175b912ea1c23b1 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · composer@1 |
2026-08-18 |
ケース
HOW- ゴール
- Querying tabular CSV with Statement filtering, sparse column projection, and JsonConverter NDJSON serialization across league/csv minor boundaries
- パッケージ
- シンボル
-
- League\Csv\Statement
- League\Csv\JsonConverter
- League\Csv\JsonFormat
- League\Csv\Reader
- League\Csv\TabularData
- 環境
- php
- 作成日
- 2026-08-16T09:19:32Z
コントラクト
- Statement where() predicates execute before offset() and limit(), slicing the filtered subset rather than document lines
- Statement ResultSet maintains document line offsets as sparse array keys, leaving key 0 absent
- Statement selectAllExcept() and select() on raw headerless CSV retain sparse integer column keys without reindexing
- JsonConverter with JsonFormat::NdJsonHeader requires explicit header argument or throws InvalidArgument
- JsonConverter NdJsonHeader serializes line 1 as a JSON array of column headers and subsequent lines as JSON arrays of values, rather than newline-delimited JSON objects
- TabularData first() and last() return empty arrays on empty CSVs, while firstAsObject() and lastAsObject() return null
- Reader::from() treats string inputs as file paths throwing UnavailableStream on raw CSV content, while createFromString() triggers E_USER_DEPRECATED since 9.27.0
ファイル
- NOTES.md
- composer.json
- composer.lock
- csx.json
- test/contract.php