svn: /phpdoc/en/trunk/reference/filesystem/functions/ disk-free-space.xml disk-total-space.xml

From: Date: Mon, 25 Oct 2010 16:09:21 +0000
Subject: svn: /phpdoc/en/trunk/reference/filesystem/functions/ disk-free-space.xml disk-total-space.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-7328@lists.php.net to get a copy of this message
kalle Mon, 25 Oct 2010 16:09:21 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=304878 Log: Consistency in examples Changed paths: U phpdoc/en/trunk/reference/filesystem/functions/disk-free-space.xml U phpdoc/en/trunk/reference/filesystem/functions/disk-total-space.xml Modified: phpdoc/en/trunk/reference/filesystem/functions/disk-free-space.xml =================================================================== --- phpdoc/en/trunk/reference/filesystem/functions/disk-free-space.xml 2010-10-25 16:03:40 UTC (rev 304877) +++ phpdoc/en/trunk/reference/filesystem/functions/disk-free-space.xml 2010-10-25 16:09:21 UTC (rev 304878) @@ -62,8 +62,8 @@ $df = disk_free_space("/"); // On Windows: -disk_free_space("C:"); -disk_free_space("D:"); +$df_c = disk_free_space("C:"); +$df_d = disk_free_space("D:"); ?> ]]> </programlisting> Modified: phpdoc/en/trunk/reference/filesystem/functions/disk-total-space.xml =================================================================== --- phpdoc/en/trunk/reference/filesystem/functions/disk-total-space.xml 2010-10-25 16:03:40 UTC (rev 304877) +++ phpdoc/en/trunk/reference/filesystem/functions/disk-total-space.xml 2010-10-25 16:09:21 UTC (rev 304878) @@ -50,12 +50,12 @@ <programlisting role="php"> <![CDATA[ <?php -// $df contains the total number of bytes available on "/" -$df = disk_total_space("/"); +// $ds contains the total number of bytes available on "/" +$ds = disk_total_space("/"); // On Windows: -disk_total_space("C:"); -disk_total_space("D:"); +$ds = disk_total_space("C:"); +$ds = disk_total_space("D:"); ?> ]]> </programlisting>

« previous php.doc.cvs (#7328) next »