diff options
author | Eyal Teutsch <eyalt@php.net> | 2010-12-26 13:29:29 +0000 |
---|---|---|
committer | Eyal Teutsch <eyalt@php.net> | 2010-12-26 13:29:29 +0000 |
commit | cc1759598fad686aad7f7ef99cf36f144501851a (patch) | |
tree | ec7a737423d4bec3283d34347cad96e79f38d7a7 /ext/spl/tests/SplFileObject_fgetcsv_enclosure_basic.phpt | |
parent | 8e47365a97892780444bf331642fbdd8d269790a (diff) | |
download | php-git-cc1759598fad686aad7f7ef99cf36f144501851a.tar.gz |
SplFileObject_fgetcsv files: SplFileObject__fgetcsv.csv used instead of SplFileObject::fgetcsv.csv, as to make this naming convetion windows legitimate
Diffstat (limited to 'ext/spl/tests/SplFileObject_fgetcsv_enclosure_basic.phpt')
-rw-r--r-- | ext/spl/tests/SplFileObject_fgetcsv_enclosure_basic.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/spl/tests/SplFileObject_fgetcsv_enclosure_basic.phpt b/ext/spl/tests/SplFileObject_fgetcsv_enclosure_basic.phpt index ab071acac1..ee2497252d 100644 --- a/ext/spl/tests/SplFileObject_fgetcsv_enclosure_basic.phpt +++ b/ext/spl/tests/SplFileObject_fgetcsv_enclosure_basic.phpt @@ -2,7 +2,7 @@ SplFileObject::fgetcsv with alternative delimeter --FILE-- <?php -$fp = fopen('SplFileObject::fgetcsv.csv', 'w+'); +$fp = fopen('SplFileObject__fgetcsv.csv', 'w+'); fputcsv($fp, array( 'field1', 'field2', @@ -11,12 +11,12 @@ fputcsv($fp, array( ), ',', '"'); fclose($fp); -$fo = new SplFileObject('SplFileObject::fgetcsv.csv'); +$fo = new SplFileObject('SplFileObject__fgetcsv.csv'); var_dump($fo->fgetcsv(',', '"')); ?> --CLEAN-- <?php -unlink('SplFileObject::fgetcsv.csv'); +unlink('SplFileObject__fgetcsv.csv'); ?> --EXPECTF-- array(4) { |