note 129006 added to function.grapheme-extract

From: Date: Mon, 06 Nov 2023 21:20:11 +0000
Subject: note 129006 added to function.grapheme-extract
Groups: php.notes 
Request: Send a blank email to php-notes+get-220962@lists.php.net to get a copy of this message
The other comments on this page were helpful for me. However, consider using something better than empty($value) when checking the value returned by grapheme_extract since it could as well return something like "0" (which of course evaluates to false). ---- Server IP: 45.112.84.4 Probable Submitter: 45.91.157.134 (proxied: 2a01:e0a:95c:f140:7c3c:fafa:be5c:e792) ---- Manual Page -- https://php.net/manual/en/function.grapheme-extract.php Edit -- https://main.php.net/note/edit/129006 Del: integrated -- https://main.php.net/note/delete/129006/integrated Del: useless -- https://main.php.net/note/delete/129006/useless Del: bad code -- https://main.php.net/note/delete/129006/bad+code Del: spam -- https://main.php.net/note/delete/129006/spam Del: non-english -- https://main.php.net/note/delete/129006/non-english Del: in docs -- https://main.php.net/note/delete/129006/in+docs Del: other reasons-- https://main.php.net/note/delete/129006 Reject -- https://main.php.net/note/reject/129006 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#220962) next »