|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-01-09 02:53 UTC] laruence@php.net
-Status: Open
+Status: Closed
[2013-01-09 02:53 UTC] laruence@php.net
[2013-01-09 02:56 UTC] laruence@php.net
[2013-01-09 02:57 UTC] laruence@php.net
[2013-01-09 02:58 UTC] laruence@php.net
[2013-01-12 16:39 UTC] derick@php.net
[2013-03-01 18:32 UTC] stas@php.net
[2014-10-07 23:20 UTC] stas@php.net
[2014-10-07 23:31 UTC] stas@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 05:00:01 2025 UTC |
Description: ------------ strpos($haystack,$needle); When $needle is empty (""), the text of the warning is unclear, it says "empty delimiter". The word "delimiter" makes no sense in this context. Test script: --------------- strpos("lkjsbsjfdb", ""); Expected result: ---------------- Warning: strpos(): Empty needle in XXX on line YYY Actual result: -------------- Warning: strpos(): Empty delimiter in XXX on line YYY