1--TEST-- 2SPL SplTempFileObject constructor sets correct defaults when passed a negative value 3--FILE-- 4<?php 5var_dump(new SplTempFileObject(-1)); 6?> 7--EXPECT-- 8object(SplTempFileObject)#1 (5) { 9 ["pathName":"SplFileInfo":private]=> 10 string(12) "php://memory" 11 ["fileName":"SplFileInfo":private]=> 12 string(12) "php://memory" 13 ["openMode":"SplFileObject":private]=> 14 string(1) "w" 15 ["delimiter":"SplFileObject":private]=> 16 string(1) "," 17 ["enclosure":"SplFileObject":private]=> 18 string(1) """ 19} 20