Bug #55101 [NEW]: Functions symlink() and readlink() are missing on Windows < Vista
| From: | vrana@php.net | Date: | Fri, 01 Jul 2011 12:51:51 +0000 |
| Subject: | Bug #55101 [NEW]: Functions symlink() and readlink() are missing on Windows < Vista | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-161455@lists.php.net to get a copy of this message | ||
From:
Operating system: Windows XP
PHP version: 5.4.0alpha1
Package: Reflection related
Bug Type: Bug
Bug description:Functions symlink() and readlink() are missing on Windows < Vista
Description:
------------
These two functions are available on Windows >= Vista since PHP 5.3.0. The
problem is that reflection have some pointers on them even in Windows <
Vista (e.g. XP) where they are not available.
Test script:
---------------
<?php
$r = new ReflectionExtension("standard");
$r->getFunctions();
?>
Expected result:
----------------
bool(false)
Actual result:
--------------
bool(false)
Warning: ReflectionExtension::getFunctions(): Internal error: Cannot find
extension function readlink in global function table
Warning: ReflectionExtension::getFunctions(): Internal error: Cannot find
extension function symlink in global function table
--
Edit bug report at https://bugs.php.net/bug.php?id=55101&edit=1
--
Try a snapshot (PHP 5.2): https://bugs.php.net/fix.php?id=55101&r=trysnapshot52
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=55101&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=55101&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=55101&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=55101&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=55101&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=55101&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=55101&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=55101&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=55101&r=support
Expected behavior: https://bugs.php.net/fix.php?id=55101&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=55101&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=55101&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=55101&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=55101&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=55101&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=55101&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=55101&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=55101&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=55101&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=55101&r=mysqlcfg
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=55101&r=trysnapshot54