php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43664 [DE] Function unlink() in german translation
Submitted: 2007-12-23 23:26 UTC Modified: 2008-07-21 09:05 UTC
Votes:3
Avg. Score:3.7 ± 0.5
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:1 (33.3%)
From: jz at apfeldot dot de Assigned:
Status: Closed Package: Translation problem
PHP Version: Irrelevant OS: --
Private report: No CVE-ID: None
 [2007-12-23 23:26 UTC] jz at apfeldot dot de
Description:
------------
The return value of unlink isn't int, it's bool.

Expected result:
----------------
bool :-)

Actual result:
--------------
int :-)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-12-26 01:57 UTC] ezyang@php.net
Confirmed:

<?php
fopen('f','w');
$v=unlink('f');
echo gettype($v); // boolean
?>
 [2008-07-21 09:05 UTC] kalle@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: Thu Apr 25 17:01:29 2024 UTC