Parli anche in Italiano ?
nction add($a, $b) { return $a + $b; } add(1, 2); PHP function add($a, $b) { return $a + $b; } echo add(1, 2); A: The difference is that in PHP you can use echo to output a string, while in JavaScript you have to use console.