- var_dump: documentation ( source)
- implode: documentation ( source)
- fgets: documentation ( source)
- fwrite: documentation ( source)
- rewind: documentation ( source)
- fopen: documentation ( source)
<?php
$fp = fopen('php://temp', 'r+');
fwrite(implode(',', array('jajaja', false, 'lala')), $fp);
rewind($fp);
var_dump(fgets($fp));