|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2020-03-31 13:57 UTC] cmb@php.net
-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: cmb
[2020-03-31 13:57 UTC] cmb@php.net
[2020-04-01 08:22 UTC] tonybogdanov at gmail dot com
[2020-04-01 11:27 UTC] cmb@php.net
-Status: Feedback
+Status: Verified
-Package: Apache2 related
+Package: Directory function related
-Assigned To: cmb
+Assigned To:
[2020-04-01 11:27 UTC] cmb@php.net
[2020-04-01 11:28 UTC] cmb@php.net
-Operating System: Windows 10 x64
+Operating System: *
-PHP Version: 5.6.18
+PHP Version: 7.3 ZTS
[2021-08-16 12:47 UTC] cmb@php.net
-Assigned To:
+Assigned To: cmb
[2021-08-16 12:47 UTC] cmb@php.net
[2021-08-17 09:33 UTC] git@php.net
[2021-08-17 09:33 UTC] git@php.net
-Status: Verified
+Status: Closed
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 14:00:01 2025 UTC |
Description: ------------ When run on Windows (WAMP) with Apache (using PHP alone in a console is fine), the function disk_total_space() throws Warning: disk_total_space(): The system cannot find the path specified. if a relative path is supplied. Test script: --------------- <?php echo getcwd() . DIRECTORY_SEPARATOR . 'test' . PHP_EOL; echo realpath('test') . PHP_EOL; echo disk_total_space(getcwd() . DIRECTORY_SEPARATOR . 'test') . PHP_EOL; echo disk_total_space(realpath('test')) . PHP_EOL; echo disk_total_space('test') . PHP_EOL; // fails