1--TEST--
2SPL SplTempFileObject constructor sets correct defaults when pass 0 arguments
3--FILE--
4<?php
5try {
6    new SplTempFileObject('invalid');
7} catch (TypeError $e) {
8    echo $e->getMessage(), "\n";
9}
10?>
11--EXPECT--
12SplTempFileObject::__construct(): Argument #1 ($maxMemory) must be of type int, string given
13