What is the output of the following script? seenagape 9 years ago What is the output of the following script?<code>1 <?php2 class a3 {4 public $val = 10;5 }67 function renderVal (a $a) 8 {9 return $a->$val;10 }1112 renderVal (new a);13 ?></code> A.Nothing B.NULL C.A fatal error D.$val E.10 ← Previous question Next question →