Edit report at http://bugs.php.net/bug.php?id=52647&edit=1
ID: 52647 Updated by: paj...@php.net Reported by: shaun dot spiller at yahoo dot com Summary: Function to get Windows drive letters Status: Assigned Type: Feature/Change Request Package: Filesystem function related Operating System: Windows PHP Version: 5.3.3 Assigned To: pajoye Block user comment: N Private report: N New Comment: 5.3 is not for new features. And as I said in my comment, there are issues with this patch. So don't be too much disappointed :) Previous Comments: ------------------------------------------------------------------------ [2010-12-10 02:37:12] shaun dot spiller at yahoo dot com I'm very disappointed this wasn't added to PHP 5.3.4. I've been checking daily since submitting this but the new version of PHP was just released and my patch has been forgotten. This code works perfectly (as far as I can tell) and fills a glaring hole in the PHP filesystem API. All it needs is for somebody to decide to add it to the source tree. Name the function whatever. I did the best I could to learn the ins and outs of the PHP internals to integrate it and provide it in an acceptable form. This is where someone (?) on IRC told me to submit it. ------------------------------------------------------------------------ [2010-08-20 17:33:02] ka...@php.net That was what I was thinking too, something like sys_get_drives() or sys_get_devices() was what I had in mind if someone one day was going to port it so the name is consistent :) ------------------------------------------------------------------------ [2010-08-19 22:26:08] paj...@php.net Sorry Kalle, already looked at that a while back. Also the function name and co is not that good. >> taking back :) ------------------------------------------------------------------------ [2010-08-19 22:24:10] ka...@php.net I'm re-assigning this one to me, I'll have a look and test of it doing the weekend and commit it to trunk Thanks for the contribution! :) ------------------------------------------------------------------------ [2010-08-19 19:57:30] shaun dot spiller at yahoo dot com Thank you for the response (no, really, it took ages to figure out how to submit this because I couldn't get the mailing lists to work). My reasoning in the non-Windows implementation was that (like in Java) it should provide a consistent way to traverse the entire file tree without needing to know or care about the OS, whether it's Windows, *n*x, or something completely alien. It also allows for hypothetical future arrangements of filesystems (even if they are unlikely). ------------------------------------------------------------------------ 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 http://bugs.php.net/bug.php?id=52647 -- Edit this bug report at http://bugs.php.net/bug.php?id=52647&edit=1