Is there any difference between __DIR__ and dirname(__FILE__) in PHP?

Posted by user198729 on Stack Overflow See other posts from Stack Overflow or by user198729
Published on 2010-05-01T09:25:57Z Indexed on 2010/05/01 9:37 UTC
Read the original article Hit count: 113

Filed under:

It looks the same for me,but I'm not sure,

because there are many projects that uses dirname(__FILE__).

© Stack Overflow or respective owner

Related posts about php