1--TEST-- 2SPL SplTempFileObject constructor sets correct defaults when pass 0 arguments 3--FILE-- 4<?php 5new SplTempFileObject('invalid'); 6?> 7--EXPECTF-- 8Fatal error: Uncaught exception 'RuntimeException' with message 'SplTempFileObject::__construct() expects parameter 1 to be long, string given' in %s 9Stack trace: 10#0 %s: SplTempFileObject->__construct('invalid') 11#1 {main} 12 thrown in %s 13