note 125891 added to control-structures.match

From: Date: Mon, 08 Mar 2021 16:39:23 +0000
Subject: note 125891 added to control-structures.match
Groups: php.notes 
Request: Send a blank email to php-notes+get-219226@lists.php.net to get a copy of this message
In the "familiar example" presented by Hayley Watson the following code is incorrect: strtolower(substr($name, 0, 3)) It should instead be written in both instances as: strtolower(substr($month, 0, 3)) ---- Server IP: 45.112.84.4 Probable Submitter: 45.112.85.245 (proxied: 172.103.230.220) ---- Manual Page -- http://php.net/manual/en/control-structures.match.php Edit -- https://master.php.net/note/edit/125891 Del: integrated -- https://master.php.net/note/delete/125891/integrated Del: useless -- https://master.php.net/note/delete/125891/useless Del: bad code -- https://master.php.net/note/delete/125891/bad+code Del: spam -- https://master.php.net/note/delete/125891/spam Del: non-english -- https://master.php.net/note/delete/125891/non-english Del: in docs -- https://master.php.net/note/delete/125891/in+docs Del: other reasons-- https://master.php.net/note/delete/125891 Reject -- https://master.php.net/note/reject/125891 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#219226) next »