- var_dump: documentation ( source)
- dirname: documentation ( source)
- error_reporting: documentation ( source)
- define: documentation ( source)
<?php
error_reporting(E_ALL);
!defined('__DIR__') && define('__DIR__', dirname(__FILE__));
var_dump(__DIR__);