I was writing a foreach Loop in PHP5. Here is the script:
foreach(range('A','Z') as $char) // line 1
{ // line 2
echo strtoupper($char)strtolower($char); // line 3
} // line 4
And I got this error message Parse error: parse error, unexpected T_STRING in testing.php on line 3
Ben bu gibi iki işlevler arasında bir nokta eklemek gerekir anlamaya neredeyse bir saat geçirdim:
echo strtoupper($char).strtolower($char);
Yani kodlar bu iki çizgi arasındaki farkı söyleyemem:
echo strtoupper($char).strtolower($char);
echo strtoupper($char)strtolower($char);