note 127533 added to language.attributes.overview

From: Date: Thu, 25 Aug 2022 12:45:21 +0000
Subject: note 127533 added to language.attributes.overview
Groups: php.notes 
Request: Send a blank email to php-notes+get-219472@lists.php.net to get a copy of this message
But who got the brilliant idea to take '#[' as character sequence? Now each time I commented a line with an array, using '#' to comment, this is detected as an annotation! For example: <?php $tab = \array_merge( #['value1', 'value2'], ['value3', 'value4'], ['value6', 'value6'] ) ?> I suppose PHP team could have think a little bit more about code compatibility... ---- Server IP: 45.112.84.4 Probable Submitter: 185.85.3.175 (proxied: 37.58.184.234) ---- Manual Page -- https://php.net/manual/en/language.attributes.overview.php Edit -- https://main.php.net/note/edit/127533 Del: integrated -- https://main.php.net/note/delete/127533/integrated Del: useless -- https://main.php.net/note/delete/127533/useless Del: bad code -- https://main.php.net/note/delete/127533/bad+code Del: spam -- https://main.php.net/note/delete/127533/spam Del: non-english -- https://main.php.net/note/delete/127533/non-english Del: in docs -- https://main.php.net/note/delete/127533/in+docs Del: other reasons-- https://main.php.net/note/delete/127533 Reject -- https://main.php.net/note/reject/127533 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#219472) next »