__DIR__
Tech / Web development / PHP • • comment
It's those little things: in PHP 5.3, the constant __DIR__
will be available. Of course, this is the same as the output from dirname(__FILE__)
, but it makes life just that little bit easier.
Tech / Web development / PHP • • comment
It's those little things: in PHP 5.3, the constant __DIR__
will be available. Of course, this is the same as the output from dirname(__FILE__)
, but it makes life just that little bit easier.