1--TEST--
2Bug #78976 (SplFileObject::fputcsv returns -1 on failure)
3--FILE--
4<?php
5$file = new SplFileObject('php://memory', 'r');
6var_dump($file->fputcsv(['foo', 'bar']));
7?>
8--EXPECT--
9bool(false)
10