PHP 8.2.31
Preview: nil_value.rdoc Size: 351 B
//proc/thread-self/root/opt/alt/ruby40/share/gems/gems/csv-3.3.5/doc/csv/options/parsing/nil_value.rdoc

====== Option +nil_value+

Specifies the object that is to be substituted for each null (no-text) field.

Default value:
  CSV::DEFAULT_OPTIONS.fetch(:nil_value) # => nil

With the default, +nil+:
  CSV.parse_line('a,,b,,c') # => ["a", nil, "b", nil, "c"]

With a different object:
  CSV.parse_line('a,,b,,c', nil_value: 0) # => ["a", 0, "b", 0, "c"]

Directory Contents

Dirs: 0 × Files: 12

Name Size Perms Modified Actions
1.46 KB lrw-r--r-- 2026-05-21 12:15:23
Edit Download
400 B lrw-r--r-- 2026-05-21 12:15:23
Edit Download
1.16 KB lrw-r--r-- 2026-05-21 12:15:23
Edit Download
1.44 KB lrw-r--r-- 2026-05-21 12:15:23
Edit Download
1.44 KB lrw-r--r-- 2026-05-21 12:15:23
Edit Download
1.50 KB lrw-r--r-- 2026-05-21 12:15:23
Edit Download
351 B lrw-r--r-- 2026-05-21 12:15:23
Edit Download
568 B lrw-r--r-- 2026-05-21 12:15:23
Edit Download
784 B lrw-r--r-- 2026-05-21 12:15:23
Edit Download
1.06 KB lrw-r--r-- 2026-05-21 12:15:23
Edit Download
363 B lrw-r--r-- 2026-05-21 12:15:23
Edit Download
976 B lrw-r--r-- 2026-05-21 12:15:23
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).