#39065 [NEW]: undocumented: symlink() changes behaviour depending on ZTS

From: Date: Fri, 06 Oct 2006 14:39:44 +0000
Subject: #39065 [NEW]: undocumented: symlink() changes behaviour depending on ZTS
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969374160@lists.php.net to get a copy of this message
From: phpbugs at triphoenix dot de Operating system: Unix PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: undocumented: symlink() changes behaviour depending on ZTS Description: ------------ The symlink() function changes its behaviour depending on the ZTS define. If ZTS is not defined, all are created relative, if ZTS is enabled, the parameters are evaluated to actual absolute directories and thus are created absolute. This is different behaviour and should be at least documented in a proper way. Reproduce code: --------------- symlink("..", "testlink"); Expected result: ---------------- Depending on enabled or disabled ZTS the symlink will be created relative (pointing to "..") or absolute (e.g. if currently in "/tmp/test/phptest" pointing to "/tmp/test"). If the link (or the directory containing it) is being moved/renamed later, the latter can lead to a broken link while the first cannot. -- Edit bug report at http://bugs.php.net/?id=39065&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39065&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39065&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39065&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=39065&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=39065&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=39065&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=39065&r=needscript Try newer version: http://bugs.php.net/fix.php?id=39065&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=39065&r=support Expected behavior: http://bugs.php.net/fix.php?id=39065&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=39065&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=39065&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=39065&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39065&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=39065&r=dst IIS Stability: http://bugs.php.net/fix.php?id=39065&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=39065&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=39065&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=39065&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=39065&r=mysqlcfg

« previous php.doc (#969374160) next »