极客教程 - 以工匠精神打磨精品教程极客教程
    • 基础编程
      • C语言
      • C++语言
      • C++ 多线程
      • Shell
      • Perl
      • LeetCode
      • C#
    • 前端开发
      • HTML
      • Bootstrap
      • JavaScript 参考手册
      • WebSocket
      • Markdown
      • react
    • 后端开发
      • 数据库管理系统
      • SQL
      • MySQL
      • MongoDB
      • Redis命令
    • Python开发
      • Python
      • Numpy
      • Matplotlib
      • Scrapy
      • Pandas
      • PyTorch
      • tkinter
      • pygame
      • PyGTK
      • Turtle
    • Java开发
      • Java
      • Spring
      • Spring Boot
      • JSP
      • Servlet
      • Guava
    • 大数据
      • 大数据
      • HDFS
      • MapReduce
      • Yarn
      • Hive
      • Spark
      • HBase
      • Storm
      • Spark Streaming
      • Flink
      • ZooKeeper
    • 人工智能
      • 机器学习
      • 深度学习
      • 数学基础
      • 线性代数
      • Tensorflow
      • Keras
      • scikit-learn
    • 移动开发
      • Android
      • Flutter
      • Kotlin
    • 图形图像
      • OpenCV
    • 开发工具
      • VSCode
      • Git
      • Github
当前位置:极客教程 > PHP > PHP 参考手册 > PHP disk_free_space()函数

PHP disk_free_space()函数

PHP disk_free_space()函数

函数 disk_free_space() 可以返回指定目录的剩余空间,单位为字节。

语法

float disk_free_space ( string $directory )
PHP

给定一个包含目录的字符串,disk_free_space() 函数可以返回对应文件系统或磁盘分区上可用的字节数。

示例

<?php
   echo disk_free_space("C:");
   echo "\n";
   echo disk_free_space("E:");
?gt;
PHP

输出

224150941696
209571344384
PHP

上一篇 PHP dirname()函数 下一篇 PHP disk_total_space()函数

Python教程

Python 教程

Python 教程

Tkinter 教程

Tkinter 教程

Pandas 教程

Pandas 教程

NumPy 教程

NumPy 教程

Flask 教程

Flask 教程

Django 教程

Django 教程

PySpark 教程

PySpark 教程

wxPython 教程

wxPython 教程

SymPy 教程

SymPy 教程

Seaborn 教程

Seaborn 教程

SciPy 教程

SciPy 教程

RxPY 教程

RxPY 教程

Pycharm 教程

Pycharm 教程

Pygame 教程

Pygame 教程

PyGTK 教程

PyGTK 教程

PyQt 教程

PyQt 教程

PyQt5 教程

PyQt5 教程

PyTorch 教程

PyTorch 教程

Matplotlib 教程

Matplotlib 教程

Web2py 教程

Web2py 教程

BeautifulSoup 教程

BeautifulSoup 教程

Java教程

Java 教程

Java 教程

Web教程

HTML 教程

HTML 教程

CSS 教程

CSS 教程

CSS3 教程

CSS3 教程

jQuery 教程

jQuery 教程

Ajax 教程

Ajax 教程

AngularJS 教程

AngularJS 教程

TypeScript 教程

TypeScript 教程

WordPress 教程

WordPress 教程

Laravel 教程

Laravel 教程

Next.js 教程

Next.js 教程

PhantomJS 教程

PhantomJS 教程

Three.js 教程

Three.js 教程

Underscore.JS 教程

Underscore.JS 教程

WebGL 教程

WebGL 教程

WebRTC 教程

WebRTC 教程

VueJS 教程

VueJS 教程

数据库教程

SQL 教程

SQL 教程

MySQL 教程

MySQL 教程

MongoDB 教程

MongoDB 教程

PostgreSQL 教程

PostgreSQL 教程

SQLite 教程

SQLite 教程

Redis 教程

Redis 教程

MariaDB 教程

MariaDB 教程

图形图像教程

Vulkan 教程

Vulkan 教程

OpenCV 教程

OpenCV 教程

大数据教程

R语言 教程

R语言 教程

开发工具教程

Git 教程

Git 教程

VSCode 教程

VSCode 教程

Docker 教程

Docker 教程

Gerrit 教程

Gerrit 教程

Excel 教程

Excel 教程

计算机教程

Go语言 教程

Go语言 教程

C++ 教程

C++ 教程

PHP 参考手册

  • PHP error_get_last()函数
  • PHP error_log()函数
  • PHP error_reporting()函数
  • PHP restore_error_handler()函数
  • PHP restore_exception_handler()函数
  • PHP set_error_handler()函数
  • PHP set_exception_handler()函数
  • PHP trigger_error()函数
  • PHP user_error()函数
  • PHP FileInfo buffer()函数
  • PHP FileInfo close() 函数
  • PHP FileInfo file()函数
  • PHP FileInfo open() 函数
  • PHP FileInfo set_flags() 函数
  • PHP FileInfo mime_content_type() 函数
  • PHP FileInfo类()函数
  • PHP FileInfo 构造函数
  • PHP basename() 函数
  • PHP chgrp()函数
  • PHP chmod()函数
  • PHP chown()函数
  • PHP 清除文件状态缓存的函数clearstatcache()
  • PHP copy()函数
  • PHP delete()函数
  • PHP dirname()函数
  • PHP disk_free_space()函数
  • PHP disk_total_space()函数
  • PHP diskfreespace()函数
  • PHP fclose()函数
  • PHP feof()函数
  • PHP fflush()函数
  • PHP fgetc()函数
  • PHP fgetcsv()函数
  • PHP fgets()函数
  • PHP fgetss()函数
  • PHP file_exists()函数
  • PHP file_get_contents()函数
  • PHP file_put_contents()函数
  • PHP file()函数
  • PHP fileatime()函数
  • PHP filectime()函数
  • PHP filegroup()函数

© 2025 极客教程   备案号:蜀ICP备11026280号-10


友情链接:极客笔记

  • 回顶
    回顶部