Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
--TEST-- Bug #78976 (SplFileObject::fputcsv returns -1 on failure) --FILE-- <?php $file = ..
Decoded Output download
--TEST--
Bug #78976 (SplFileObject::fputcsv returns -1 on failure)
--FILE--
<?php
$file = new SplFileObject('php://memory', 'r');
var_dump($file->fputcsv(['foo', 'bar']));
?>
--EXPECT--
bool(false)
Did this file decode correctly?
Original Code
--TEST--
Bug #78976 (SplFileObject::fputcsv returns -1 on failure)
--FILE--
<?php
$file = new SplFileObject('php://memory', 'r');
var_dump($file->fputcsv(['foo', 'bar']));
?>
--EXPECT--
bool(false)
Function Calls
None |
Stats
MD5 | dec4fac746f8d0db8e367d3eb4868560 |
Eval Count | 0 |
Decode Time | 86 ms |