php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #80712 getcwd(): return type includes false
Submitted: 2021-02-05 10:44 UTC Modified: 2021-02-05 12:17 UTC
From: php at hatlak dot de Assigned: cmb (profile)
Status: Closed Package: Directory function related
PHP Version: 7.4.15 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: php at hatlak dot de
New email:
PHP Version: OS:

 

 [2021-02-05 10:44 UTC] php at hatlak dot de
Description:
------------
---
From manual page: https://php.net/function.getcwd
---
Function getcwd can return false. The description includes that fact, but the function signature does not reflect it.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-02-05 12:17 UTC] cmb@php.net
-Summary: Return type includes false +Summary: getcwd(): return type includes false -Status: Open +Status: Verified -Assigned To: +Assigned To: cmb
 [2021-02-05 12:22 UTC] cmb@php.net
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=6f540a4bf2b3c2e2271022d0a31efa1a3036677c
Log: Fix #80712: getcwd(): return type includes false
 [2021-02-05 12:22 UTC] cmb@php.net
-Status: Verified +Status: Closed
 [2021-02-06 11:24 UTC] mumumu@php.net
Automatic comment on behalf of mumumu@mumumu.org
Revision: http://git.php.net/?p=doc/ja.git;a=commit;h=c92de815cec2e94e945c098894318e48428f8624
Log: Fix #80712: getcwd(): return type includes false
 [2021-02-08 08:21 UTC] avenger@php.net
Automatic comment on behalf of avenger
Revision: http://git.php.net/?p=doc/zh.git;a=commit;h=623f02474fa6b24cd6ae120438284a68632057d6
Log: sync to en: Fix #80712: getcwd(): return type includes false
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 14:01:37 2025 UTC