= 5.3: Usage of dirname(__FILE__) can be replaced with __DIR__. ]]> __DIR__; ]]> dirname(__FILE__); ]]> = 7.0: Nested calls to dirname() can be replaced by using dirname() with the $levels parameter. ]]> dirname($file, 3); ]]> dirname(dirname(dirname($file))); ]]>