|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-08-12 13:38 UTC] johannes@php.net
-Status: Open
+Status: Not a bug
[2013-08-12 13:38 UTC] johannes@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 08 07:00:02 2025 UTC |
Description: ------------ PHP throws fatal error only when the duplicate function is called. Test script: --------------- Fatal error: function php() { function php() { } } php(); ****** Nothing: function php() { function php() { } } Expected result: ---------------- PHP should notify this problem (duplicate function) regardless the explicit call of the function Actual result: -------------- PHP does not notify if the duplicate function is not used