Thanks. I've fixed this. Andi
At 05:51 PM 7/18/2002 +0200, Sander Steffann wrote: >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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php