25 lines
439 B
Markdown
Executable File
25 lines
439 B
Markdown
Executable File
# Comma-Separated Values by RFC 4180
|
|
|
|
```php
|
|
<?php
|
|
|
|
// Library for CSV
|
|
use mirzaev\csv\interfaces\csv as csv_trait,
|
|
mirzaev\csv\interfaces\csv as csv_interface;
|
|
|
|
/**
|
|
* Database
|
|
*
|
|
* @license http://www.wtfpl.net/ Do What The Fuck You Want To Public License
|
|
*/
|
|
class database extends core implements csv_interface
|
|
{
|
|
use csv_trait, file {
|
|
csv_trait::read insteadof file;
|
|
file::read as protected file;
|
|
}
|
|
}
|
|
|
|
database::write()
|
|
?>
|
|
``` |