php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #77829 [pt_BR] Na descrição o retorno da função unlink é int
Submitted: 2019-04-01 02:20 UTC Modified: 2021-10-04 15:37 UTC
From: nic_duarte at hotmail dot com Assigned: ae (profile)
Status: Closed Package: Translation problem
PHP Version: 7.3.3 OS: Windows 10
Private report: No CVE-ID: None
 [2019-04-01 02:20 UTC] nic_duarte at hotmail dot com
Description:
------------
---
From manual page: https://php.net/manual/pt_BR/function.unlink.php
---
Na descrição esta:
unlink ( string $filename [, resource $context ] ) : int

O certo seria:
unlink ( string $filename [, resource $context ] ) : bool

pois o retorno dessa função é bool.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-04-01 06:48 UTC] cmb@php.net
-Summary: Na descrição o retorno da função unlink é int +Summary: [pt_BR] Na descrição o retorno da função unlink é int -Package: Filesystem function related +Package: Translation problem
 [2021-10-04 15:37 UTC] ae@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: ae
 [2021-10-04 15:37 UTC] ae@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC