php variable case sensitive code example
Example 1: is replace case sensitive php
//Will make sure to replace anything that matches
str_ireplace()
Example 2: is switch case case sensitive in php
<?php
$smart = "cRikEy";
switch (strtolower($smart)) {
case "crikey": // Note the lowercase chars
echo "Crikey";
break;
case "hund":
echo "Hund";
break;
case "kat":
echo "Kat";
break;
default:
echo "Alt Andet";
}
?>