Question #63

Author: admin
tags: PHP  
Is the case of the function name important? And the case of the class name?
function WARNING() {
  echo 'Ooops...';
}

class Friend {
  public $legs = 100;
}

$friend = new friend; 

warning();
echo $friend->legs;
The character case is important for both function and class names
The character case is important for function names
The character case is important for class names
The character case is NOT important for either class names or function names
Rate the difficulty of the question:
easyhard