note 130312 added to function.strstr

From: Date: Fri, 23 May 2025 12:29:03 +0000
Subject: note 130312 added to function.strstr
Groups: php.notes 
Request: Send a blank email to php-notes+get-222160@lists.php.net to get a copy of this message
If you are only trying to detect the presence of $needle within $haystack, consider using strpos() instead. It is faster/more efficient for that specific purpose. ---- Server IP: 45.112.84.4 Probable Submitter: 45.112.84.18 (proxied: 66.152.102.180) ---- Manual Page -- https://php.net/manual/en/function.strstr.php Edit -- https://main.php.net/note/edit/130312 Del: integrated -- https://main.php.net/note/delete/130312/integrated Del: useless -- https://main.php.net/note/delete/130312/useless Del: bad code -- https://main.php.net/note/delete/130312/bad+code Del: spam -- https://main.php.net/note/delete/130312/spam Del: non-english -- https://main.php.net/note/delete/130312/non-english Del: in docs -- https://main.php.net/note/delete/130312/in+docs Del: other reasons-- https://main.php.net/note/delete/130312 Reject -- https://main.php.net/note/reject/130312 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#222160) next »