ID: 45323 Updated by: [EMAIL PROTECTED] Reported By: meandrea at tiscali dot it -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: Linux PHP Version: 5.2.6 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Previous Comments: ------------------------------------------------------------------------ [2008-06-23 13:39:51] m dot sedziwoj at gmail dot com You can't call constructor, because XMLWriter don't have it. ------------------------------------------------------------------------ [2008-06-20 13:43:30] meandrea at tiscali dot it Description: ------------ executing the code below results in Fatal error: Can not call constructor in ... Reproduce code: --------------- <?php class xmlReportWriter extends XMLWriter { function __construct() { parent::__construct(); } } $xmlReportWriter = new xmlReportWriter(); ?> Expected result: ---------------- I was expecting to be able to use xmlReportWriter as an extended class ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=45323&edit=1
