I think zend2_example.phps has a little error in example 6: The display function is defined as: function display() { print $this->name; print "\n"; }
But then it is called with: print $person->getName()->display(); Either the function should use return, or the call shouldn't use print... -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php