在php中使用fopen()创建文件时的默认权限是什么?

If a file does not exist when calling

fopen(<filename>, 'w');

what are the default permissions on the new file supposed to be?

That depends on your OS, it's configuration and - depending on OS - the php umaskDocs configuration.