Zend 200-500 Question Answer
What is the error in the following declaration of a static class method?
1
2 class car {
3 static $speeds = array(
4 'fast',
5 'slow',
6 'medium',
7 );
8
9 static function getSpeeds()
10 {
11 return $this->speeds;
12 }
13 }
14 ?>
Zend 200-500 Summary
- Vendor: Zend
- Product: 200-500
- Update on: Jul 25, 2025
- Questions: 219