Part on Superglobals finished

This commit is contained in:
Patryk Hegenberg 2022-12-12 20:23:31 +01:00
parent c80327424b
commit a1e1a43d81
6 changed files with 19 additions and 4 deletions

11
functions.php Normal file
View file

@ -0,0 +1,11 @@
<?php
function dd($value) {
echo "<pre>";
var_dump($value);
echo "</pre>";
die();
}
function urlIs($value) {
return $_SERVER['REQUEST_URI'] === $value;
}