| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2018-05-12 16:13 UTC] gadelat at gmail dot com
  [2018-05-14 08:45 UTC] ab@php.net
  [2018-05-14 08:45 UTC] ab@php.net
 
-Status: Open
+Status: Closed
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 04:00:01 2025 UTC | 
Description: ------------ link() does not work if source/target path is non-ascii Test script: --------------- C:\ λ touch file C:\ λ mkdir a && cd a C:\a λ php -r "link(__DIR__.'/../file', __DIR__.'/b');" C:\a λ cd .. C:\ λ mv a á && cd á C:\á λ php -r "link(__DIR__.'/../file', __DIR__.'/b');" PHP Warning: link(): Bad file descriptor in Command line code on line 1 PHP Stack trace: PHP 1. {main}() Command line code:0 PHP 2. link() Command line code:1