## Is tmpfile() restricted by open_basedir setting or not?

According to this comment on the PHP manual pages, the tmpfile() function is affected by the open_basedir setting.

Quoting from the mentioned comment about tmpfile():
Remember, that open_basedir affects this function. You will get an error:

Warning: tmpfile() [function.tmpfile]: open_basedir restriction in effect. File(/var/tmp) is not within the allowed path(s): ....blablabla =)
Ok, I decided to test, so I altered my php.ini adding this restriction:

Code:
open_basedir = D:\htdocs
After restarting php, I checked with phpinfo() that the open_basedir was in effect, it was...

Fine, then lets try to run this script which should produce the mentioned warning message since my TEMP directory, "C:\Windows\Temp", (as shown in phpinfo()) is now outside the open_basedir, and I would then not expect tmpfile() to be working.

PHP Code:
\$temp tmpfile();
fwrite(\$temp"writing to tempfile");
fseek(\$temp0);
echo