system('mkdir -pv /root/test &> /dev/null ');
mkdir("/root/test",0700);
system('mkdir -pv /root/test &> /dev/null ');
mkdir("/root/test",0700);
php's mkdir
and the terminal's mkdir
are definitely the same thing in theory, but PHP must have done it
<code>多个系统的兼容,以及给了一些默认值,权限等等。</code>