note 124012 added to function.strrpos

From: Date: Thu, 04 Jul 2019 15:44:09 +0000
Subject: note 124012 added to function.strrpos
Groups: php.notes 
Request: Send a blank email to php-notes+get-211473@lists.php.net to get a copy of this message
The description for 'offset' is wrong. When offset is positive, PHP searches right to left, starting at the end of haystack and stopping at offset. This ignores the left side of haystack. When offset is negative, PHP searches right to left, starting at offset bytes from the end of haystack. This ignores the right side of haystack. ---- Server IP: 208.43.231.9 Probable Submitter: 82.199.157.34 (proxied: 71.218.37.158) ---- Manual Page -- http://php.net/manual/en/function.strrpos.php Edit -- https://master.php.net/note/edit/124012 Del: integrated -- https://master.php.net/note/delete/124012/integrated Del: useless -- https://master.php.net/note/delete/124012/useless Del: bad code -- https://master.php.net/note/delete/124012/bad+code Del: spam -- https://master.php.net/note/delete/124012/spam Del: non-english -- https://master.php.net/note/delete/124012/non-english Del: in docs -- https://master.php.net/note/delete/124012/in+docs Del: other reasons-- https://master.php.net/note/delete/124012 Reject -- https://master.php.net/note/reject/124012 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#211473) next »