
dirname(__FILE__) vs __DIR__, which is faster?
If you’re developing PHP software today but studied PHP based on old-ish manuals or manuals written by people who did, you might find a mix of calls to dirname(__FILE__) and __DIR__ and wonder what the difference is… Past the fact that there is no real difference I could find in the data returned, it is […]
Recent comments