|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2018-03-19 17:25 UTC] peehaa@php.net
-Status: Open
+Status: Not a bug
[2018-03-19 17:25 UTC] peehaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 16:00:02 2025 UTC |
Description: ------------ By mistake (wrong line) I have set a if() within a switch. Example: $var = 2; switch ($var) { case 1: break; if ($var==2) { die('here'); } } But that results not in a syntax error. That if() will never execute, so its useless code. Maybe thats not a bug, but it would help to find stupid input errors. Thanks :)