On Fri, Jan 16, 2009 at 11:45, Hannes Magnusson <hannes.magnus...@gmail.com> wrote: > On Fri, Jan 16, 2009 at 11:02, Pierre-Alain Joye <paj...@php.net> wrote: >> pajoye Fri Jan 16 10:02:50 2009 UTC >> >> Modified files: >> /php-src/main win32_internal_function_disabled.h main.c >> Log: >> MFB: >> - add EG(windows_version_info), set at init time once per instance >> contains a OSVERSIONINFOEX struct. It lets us determine easily on which >> windows version is used (for example) >> - [DOC] add the ability to disable a function when the windows function >> does not support a feature (for example symlink) > > I don't understand how this is useful. > Is the user now responsible to disable_function=symlink? > That doesn't quite make sense to me. Could you please provide make > more info so this can be documented?
Talked to Pierre on IRC. Apparently I read this wrong :) This has nothing to do with disable_functions INI entry. If PHP is build on Windows version that has "symlink" support then the binary contains symlink support. If you however run the binary on WindowsXP the actual function entry is removed "at runtime". All this means is: "As of PHP5.3 symlink() and readlink() are supported on Windows2003 and above" And "As of PHP5.3 link() is supported on Windows2000 and above" -Hannes -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php