Edit report at https://bugs.php.net/bug.php?id=55101&edit=1
ID: 55101 Updated by: bj...@php.net Reported by: vr...@php.net Summary: Reflection tries to find symlink() and readlink() when they don't exist Status: Open Type: Bug Package: Reflection related Operating System: Windows XP PHP Version: 5.4.0alpha1 -Assigned To: +Assigned To: pajoye Block user comment: N Private report: N New Comment: I don't have a Windows build environment.. but I believe the attached patch fixes this issue, and makes more sense :] Could you verify it for me Pierre? Previous Comments: ------------------------------------------------------------------------ [2011-08-30 13:13:53] bj...@php.net The following patch has been added/updated: Patch Name: disable-functions.patch Revision: 1314710033 URL: https://bugs.php.net/patch-display.php?bug=55101&patch=disable-functions.patch&revision=1314710033 ------------------------------------------------------------------------ [2011-07-01 18:43:44] fel...@php.net This specific windows disabling stuff is done at http://lxr.php.net/xref/PHP_5_4/main/main.c#php_win32_disable_functions but I think it might be handled like we treat the disable_functions INI entry at http://lxr.php.net/xref/PHP_5_4/Zend/zend_API.c#disabled_function ------------------------------------------------------------------------ [2011-07-01 09:40:48] vr...@php.net I've looked in the source codes but I didn't get a clue how is it achieved that readlink() is disabled on Windows < Vista. I also don't see anything related at http://lxr.php.net/search?project=PHP_5_4&refs=readlink ------------------------------------------------------------------------ [2011-07-01 09:19:47] paj...@php.net It certainly does something nasty, can you try to figure out where pls? ------------------------------------------------------------------------ [2011-07-01 09:07:36] vr...@php.net I know, it is even mentioned in the bug report. The problem is that Reflection doesn't know it and produces an Internal error. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=55101 -- Edit this bug report at https://bugs.php.net/bug.php?id=55101&edit=1