$_SERVER['HTTP_HOST'] → ajesta.work
$_SERVER['SERVER_NAME'] → ajesta.work
$_SERVER['DOCUMENT_ROOT'] → /var/www/html
$_SERVER['SCRIPT_FILENAME'] → /var/www/html/JS-Test/php/path.html
$_SERVER['SCRIPT_NAME'] → /JS-Test/php/path.html
$_SERVER['PHP_SELF'] → /JS-Test/php/path.html
$_SERVER['REQUEST_URI'] → /JS-Test/php/path.html
$_SERVER['HTTP'] → empty
$_SERVER['HTTPS'] → on
__FILE__ → /var/www/html/JS-Test/php/path.html
dirname( __FILE__ ) → /var/www/html/JS-Test/php
basename( __FILE__ ) → path.html
__DIR__ → /var/www/html/JS-Test/php
dirname( __DIR__ ) → /var/www/html/JS-Test
basename( __DIR__ ) → php
__LINE__ → 40
dirname( __LINE__ ) → .
basename( __LINE__ ) → 40