Input/Output Learning Mode
Qusetions Index 68/102
Assume that the web server user owns the data.csv file and that it contains the string "Hello World" before this script runs. What will the output of this code be?
<?php
file_put_contents('data.csv', '1,2,3,4,5');
$handle = fopen('data.csv', 'c+');
$data = fgetcsv($handle, 2);
var_dump($data[1]);
|
|
|
|
|