Comparison between PHP and JS "problem solving" moduls (6) CODE
/* JavaScript is a case senitive language when it comes to variables, function and class declarations, while PHP is not case sensitive in function and class declarations. */
function writeMsg() {
  console.log("hello world")
}
WRITEMSG();
// outputs reference error
function writeMsg() {
  echo "Hello world";
}
WRITEMSG();
// outputs Hello world
by Luka Khitaridze
2 years ago
PHP
JavaScript
Syntax
0
Pro tip: use ```triple backticks around text``` to write in code fences