« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 1 of about 1 for dolphin (0.001 sec.)
SplFileObject::fgetcsv — ファイルから行を取り出し CSV フィールドとして処理する ... 9414
SplFileObject::fgetcsv (PHP 5 >= 5.1.0, PHP 7, PHP 8) SplFileObject::fgetcsv — ファイルから行を取り出し CSV フィールドとして処理する 説明 public function SplFileObject::fgetcsv ( string $separator = "," , string $enclosure = "\"" , string $ ... = $row ; printf ( "A %s is a %s with %d legs\n" , $animal , $class , $legs ); } ?> animals.csv の内容 crocodile,reptile,4 dolphin,mammal,0 duck,bird,2 koala,mammal,4 salmon,fish,0 上の例の出力は、 たとえば以下のようになります。 A crocodile is a reptile ... with 4 legs A dolphin is a mammal with 0 legs A duck is a bird with 2 legs A koala is a mammal with 4 legs A salmon is a fish with 0 legs 参考 S ...
https://man.mtool.work/php/8.3/splfileobject.fgetcsv.html
PREV 1 NEXT