Skip to content

Glossary: PHP Basics

__DIR__

A constant holding the current file's folder, so `__DIR__ . '/functions.php'` always finds the file next to this one.

Where the book teaches it

Related terms

include / require / require_once