From 22deb8e7dfc0525ded3434121a56a6dd1a1c5d47 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Fri, 13 Nov 2009 21:15:08 +0000 Subject: [PATCH] Returns false in error (bug #49801) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290700 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/filesystem/functions/disk-free-space.xml | 3 ++- reference/filesystem/functions/disk-total-space.xml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/reference/filesystem/functions/disk-free-space.xml b/reference/filesystem/functions/disk-free-space.xml index ba936d5398..32b1a1b6b6 100644 --- a/reference/filesystem/functions/disk-free-space.xml +++ b/reference/filesystem/functions/disk-free-space.xml @@ -45,7 +45,8 @@ &reftitle.returnvalues; - Returns the number of available bytes as a float. + Returns the number of available bytes as a float + or &false; in case of an error. diff --git a/reference/filesystem/functions/disk-total-space.xml b/reference/filesystem/functions/disk-total-space.xml index 0a4b8a5943..8c3d138505 100644 --- a/reference/filesystem/functions/disk-total-space.xml +++ b/reference/filesystem/functions/disk-total-space.xml @@ -37,7 +37,8 @@ &reftitle.returnvalues; - Returns the total number of bytes as a float. + Returns the total number of bytes as a float + or &false; in case of an error.