note 130642 added to control-structures.match
| From: | yawarmushtaq52@gmail.com | Date: | Fri, 06 Feb 2026 06:46:15 +0000 |
| Subject: | note 130642 added to control-structures.match | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-222535@lists.php.net to get a copy of this message | ||
Since
match is a better alternative in MOST cases for modern software, adding this
comment so that if someone googles "switch in PHP" then this page also shows
in the search results.
----
Server IP: 206.189.2.9
Probable Submitter: 115.246.95.106
----
Manual Page -- https://php.net/manual/en/control-structures.match.php
Edit -- https://main.php.net/note/edit/130642
Del: integrated -- https://main.php.net/note/delete/130642/integrated
Del: useless -- https://main.php.net/note/delete/130642/useless
Del: bad code -- https://main.php.net/note/delete/130642/bad+code
Del: spam -- https://main.php.net/note/delete/130642/spam
Del: non-english -- https://main.php.net/note/delete/130642/non-english
Del: in docs -- https://main.php.net/note/delete/130642/in+docs
Del: other reasons-- https://main.php.net/note/delete/130642
Reject -- https://main.php.net/note/reject/130642
Search -- https://main.php.net/manage/user-notes.php