- strcasecmp: documentation ( source)
- strcmp: documentation ( source)
- error_reporting: documentation ( source)
<?php
error_reporting(0);
$test = array(
'id' => 'skidlord',
'pw' => 'r1c3ch1ld'
);
$a="1337";
if (strcmp($a,$test) == 0||strcasecmp($a,$test) == 0){
echo "pass";
}
else{
echo "fail";
}