Date: 08/14/01
- Next message: Stig Bakken: "[PHP-DOC] cvs: phpdoc /en/functions datetime.xml"
- Previous message: Jeroen van Wolffelaar: "[PHP-DOC] Re: no combined commits please"
- Next in thread: goba <email protected>: "[PHP-DOC] Bug #12750 Updated: No echo call in example code"
- Reply: goba <email protected>: "[PHP-DOC] Bug #12750 Updated: No echo call in example code"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: bwise <email protected>
Operating system: N/A
PHP version: 4.0.6
PHP Bug Type: Documentation problem
Bug description: No echo call in example code
On the manual page:
http://www.php.net/manual/en/language.oop.constructor.php
The following code lacks an "echo" in function C (shown in square
brackets).
-------
class A {
function A() {
echo "I am the constructor of A.<br>\n";
}
}
class B extends A {
function C() {
[should have echo here?] "I am a regular function.<br>\n";
}
}
// no constructor is being called in PHP 3.
$b = new B;
-- Edit bug report at: http://bugs.php.net/?id=12750&edit=1
- Next message: Stig Bakken: "[PHP-DOC] cvs: phpdoc /en/functions datetime.xml"
- Previous message: Jeroen van Wolffelaar: "[PHP-DOC] Re: no combined commits please"
- Next in thread: goba <email protected>: "[PHP-DOC] Bug #12750 Updated: No echo call in example code"
- Reply: goba <email protected>: "[PHP-DOC] Bug #12750 Updated: No echo call in example code"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

