|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-02-15 13:54 UTC] johannes@php.net
[2013-02-15 13:54 UTC] johannes@php.net
-Status: Open
+Status: Not a bug
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 11:00:02 2025 UTC |
Description: ------------ <?php // PHP Version 5.3.3 ini_set('display_errors', '1'); error_reporting(-1); class a { public function func1($a) { echo "<br>A = " . $a; } public function func2() { $this->func1(5, 6); } } $c = new a(); $c->func2(); Test script: --------------- <?php // PHP Version 5.3.3 ini_set('display_errors', '1'); error_reporting(-1); class a { public function func1($a) { echo "<br>A = " . $a; } public function func2() { $this->func1(5, 6); } } $c = new a(); $c->func2(); Expected result: ---------------- Fatal Error / Warning / Notices. Actual result: -------------- No Warnings/ Notices/ Fatal error.