note 127151 added to function.preg-split

From: Date: Wed, 01 Jun 2022 08:45:03 +0000
Subject: note 127151 added to function.preg-split
Groups: php.notes 
Request: Send a blank email to php-notes+get-218550@lists.php.net to get a copy of this message
Using PREG_SPLIT_DELIM_CAPTURE without PREG_SPLIT_NO_EMPTY guarantees that all the odd-numbered keys in the result will contain the delimiters. This makes further processing more predictable, and empty strings can always be filtered out at the end. ---- Server IP: 45.112.84.4 Probable Submitter: 80.90.12.131 (proxied: 60.231.232.99) ---- Manual Page -- https://php.net/manual/en/function.preg-split.php Edit -- https://main.php.net/note/edit/127151 Del: integrated -- https://main.php.net/note/delete/127151/integrated Del: useless -- https://main.php.net/note/delete/127151/useless Del: bad code -- https://main.php.net/note/delete/127151/bad+code Del: spam -- https://main.php.net/note/delete/127151/spam Del: non-english -- https://main.php.net/note/delete/127151/non-english Del: in docs -- https://main.php.net/note/delete/127151/in+docs Del: other reasons-- https://main.php.net/note/delete/127151 Reject -- https://main.php.net/note/reject/127151 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#218550) next »