Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.4.1

Bug #3357 realPath() ends up in an infinite loop
Submitted: 2005-02-02 07:45 UTC
From: cmoehrke at netviser dot de Assigned: mike
Status: Closed Package: File
PHP Version: 5.0.3 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2005-02-02 07:45 UTC] cmoehrke at netviser dot de
Description: ------------ Probably this is just a problem with the documentation as there is no usage example of realPath(). I tried several different approaches of using realPath() but everything I tried ended up in an infinite loop. But whatever the purpose of that method may be, it shouldn't result in an inifite loop Reproduce code: --------------- echo File_Util::realPath("."); echo File_Util::realPath(".."); echo File_Util::realPath("./home"); echo File_Util::realPath("home"); Expected result: ---------------- ? the purpose of the method is not documented yet. Actual result: -------------- nothing

Comments

 [2005-02-02 11:21 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2005-02-02 11:29 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!