modern-php icon indicating copy to clipboard operation
modern-php copied to clipboard

scan.php

Open AntoninSlejska opened this issue 10 years ago • 3 comments

Hello, the scan.php (Ch. 4) did not work by me. I had to change the code as following:

<?php
require 'vendor/autoload.php';
use League\Csv\Reader;
$client = new \GuzzleHttp\Client();
$csv = Reader::createFromPath($argv[1]);
...

Cheers, Antonin

AntoninSlejska avatar May 18 '15 19:05 AntoninSlejska

I saw the same ... to fix I just changed to this:

$csv = \League\Csv\Reader::createFromPath($argv[1]);

bleen avatar May 22 '15 19:05 bleen

Thank you @bleen !

zhangyongyu avatar Feb 20 '16 15:02 zhangyongyu

Thank you @AntoninSlejska

igithub14 avatar Oct 20 '17 15:10 igithub14