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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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: Tue Apr 23 17:01:26 2019 UTC