stat() and ampersand operator
<p>I've been studying WordPress source code that operates on the filesystem, when I hit these few lines and I'm really not quite sure what they do?</p>

<pre><code>$stat = stat( dirname( $new_file ));
$perms = $stat['mode'] &amp; 0000666;
@ chmod( $new_file, $perms );
</code></pre>
