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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: nic_duarte at hotmail dot com
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Sun Apr 21 02:01:28 2024 UTC