For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > October 2004 > Typo found!









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Typo found!
Pierre & Mirjam Charbonneau

2004-10-13, 3:55 am

First off, I wish to extend my thanks to you guys for the great efforts that you put forth. Your time and energy have served me greatly. I beleive I have spotted two typos so I thought I would let you know.

1.
http://www.php.net/manual/en/langua....visibility.php

Bottom of the page:
"Note: The use PHP 4 use of declaring ..."

I beleive that's an extra use .. or the whole thing could be ... "The PHP 4 practice of declaring ..."

2.
http://www.php.net/manual/en/language.oop5.basic.php

I have the feeling that the term overriding is meant and not overloading.

"The inherited methods and members can be overloaded, unless the parent class has defined a method as final, by redeclaring them within the same name defined in the parent class. It is possible to access the overloaded method or members by referencing them with parent::"
Aidan Lister

2004-10-13, 9:04 am

> http://www.php.net/manual/en/langua....visibility.php

Fixed

> 2.
> http://www.php.net/manual/en/language.oop5.basic.php


> I have the feeling that the term overriding is meant and not overloading.


Nope, overloading refers to redeclaring the function with different
parameters. Overriding would refer to overriding the method but keeping the
parameters the same. I'm not 100% on this, perhaps the other doc guys know
better.


Thanks for your kind words, and for pointing out the errors,
Aidan
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com