SplFileObject_getCsvControl_basic_001.phpt 284 B

1234567891011121314151617
  1. --TEST--
  2. SplFileObject::getCsvControl function - basic test
  3. --FILE--
  4. <?php
  5. $obj = New SplFileObject(dirname(__FILE__).'/SplFileObject_testinput.csv');
  6. var_dump($obj->getCsvControl());
  7. ?>
  8. --EXPECT--
  9. array(3) {
  10. [0]=>
  11. string(1) ","
  12. [1]=>
  13. string(1) """
  14. [2]=>
  15. string(1) "\"
  16. }