#43664 [Opn->Ver]: Function unlink() in german translation
| From: | ezyang@php.net | Date: | Wed, 26 Dec 2007 01:57:56 +0000 |
| Subject: | #43664 [Opn->Ver]: Function unlink() in german translation | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-368@lists.php.net to get a copy of this message | ||
ID: 43664
Updated by: ezyang@php.net
Reported By: jz at apfeldot dot de
-Status: Open
+Status: Verified
Bug Type: Translation problem
Operating System: --
PHP Version: Irrelevant
New Comment:
Confirmed:
<?php
fopen('f','w');
$v=unlink('f');
echo gettype($v); // boolean
?>
Previous Comments:
------------------------------------------------------------------------
[2007-12-23 23:26:50] jz at apfeldot dot de
Description:
------------
The return value of unlink isn't int, it's bool.
Expected result:
----------------
bool :-)
Actual result:
--------------
int :-)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43664&edit=1