Answer the question
In order to leave comments, you need to log in
Why doesn't it output text?
Good day. It should have output "test message" in the end, but it outputs "why". Why? Sorry if this is a dumb question. Thanks in advance.
$gg = [
'тестовое сообщение'
];
$what = 'тестовое сообщение';
$test = $what;
echo $test;
if ($test == $gg) {
echo "1";
} else {
echo "why";
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question