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 call
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 ca