|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-06-23 13:39 UTC] m dot sedziwoj at gmail dot com
[2008-07-12 10:21 UTC] rrichards@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 06 11:00:02 2025 UTC |
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