mirror of
https://github.com/php/php-src.git
synced 2024-11-28 04:14:26 +08:00
Merge branch 'spl_tempfile_clean' into PHP-5.5
* spl_tempfile_clean: Cleanup temp test file
This commit is contained in:
commit
2d77bbdf64
@ -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…
Reference in New Issue
Block a user