windows example

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@147347 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Nuno Lopes 2003-12-26 19:48:54 +00:00
parent a02fb899e9
commit 61922cb80f
2 changed files with 10 additions and 2 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.86 -->
<refentry id="function.disk-free-space">
<refnamediv>
@ -25,6 +25,10 @@
<?php
// $df contains the number of bytes available on "/"
$df = disk_free_space("/");
// On Windows:
disk_free_space("C:");
disk_free_space("D:");
?>
]]>
</programlisting>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.64 -->
<refentry id="function.disk-total-space">
<refnamediv>
@ -25,6 +25,10 @@
<?php
// $df contains the total number of bytes available on "/"
$df = disk_total_space("/");
// On Windows:
disk_total_space("C:");
disk_total_space("D:");
?>
]]>
</programlisting>