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: 2019-04-01 06:48 UTC
From: nic_duarte at hotmail dot com Assigned:
Status: Open Package: Translation problem
PHP Version: 7.3.3 OS: Windows 10
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Aug 18 13:01:27 2019 UTC