|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-02-20 06:51 UTC] dtajchreber@php.net
-Status: Open
+Status: Bogus
[2011-02-20 06:51 UTC] dtajchreber@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Feb 05 22:00:01 2026 UTC |
Description: ------------ A class Foo implements an interface IFoo. When Foo implements a method with less parameters than the expected parameter count as specified by IFoo, PHP terminates with no errors. The sample script demonstrates this because the 'Checkpoint' is never echoed. Test script: --------------- <?php interface IFoo { public function method($one); } class Foo implements IFoo { public function method() {} } echo 'Checkpoint'; ?>