mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
Merge branch 'spl_tempfile_clean' into PHP-5.5
* spl_tempfile_clean: Cleanup temp test file
This commit is contained in:
commit
2d77bbdf64
1 changed files with 4 additions and 0 deletions
|
@ -13,6 +13,10 @@ $fo = new SplFileObject('testdata.csv');
|
|||
|
||||
$fo->rewind( "invalid" );
|
||||
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
unlink('testdata.csv');
|
||||
?>
|
||||
--EXPECTF--
|
||||
Warning: SplFileObject::rewind() expects exactly 0 parameters, 1 given in %s on line %d
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue