Part on Superglobals finished
This commit is contained in:
parent
c80327424b
commit
a1e1a43d81
6 changed files with 19 additions and 4 deletions
11
functions.php
Normal file
11
functions.php
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue