Using POST vs. GET to log out
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php declare(strict_types=1); | |
if (!function_exists('titleCase')) { | |
function titleCase($title) | |
{ | |
$smallWords = [ | |
'a', | |
'an', | |
'and', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function titleCase (title) { | |
const smallWords = [ | |
'a', | |
'an', | |
'and', | |
'at', | |
'but', | |
'by', | |
'else', | |
'for', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\Log::info(print_r($array, true)); |