Ad

Minor refactoring.

Code
Diff
  • function hiThere($name) {
    	echo "Hello {$name}, welcome to PHP!";
    };
    
    hiThere("Austin");
    
    • function hiThere ($name) {
    • echo "Hello $name, welcome to PHP!";
    • function hiThere($name) {
    • echo "Hello {$name}, welcome to PHP!";
    • };
    • hiThere("Austin");
    • # returns "Hello Austin, welcome to PHP!"