note 84596 modified in function.stat by felipe

From: Date: Tue, 22 Jul 2008 12:40:44 +0000
Subject: note 84596 modified in function.stat by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-142489@lists.php.net to get a copy of this message
<?php $stat = stat($filepath); $mode = $stat[2]; ?> is identical to: <?php $mode = fileperms($filepath); ?> at least on my linux box. --was-- $stat=stat($filepath); $mode=$stat[2]; is identical to $mode=fileperms($filepath); at least on my linux box http://php.net/manual/en/function.stat.php

« previous php.notes (#142489) next »