|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-03-06 12:55 UTC] scottmacvicar at ntlworld dot com
[2004-03-06 13:13 UTC] iliaa@php.net
[2004-03-06 13:21 UTC] kennyt@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 20 02:00:01 2025 UTC |
Description: ------------ when is used 3rd parameter, the offset, the function produce a warning and don't return nothing Reproduce code: --------------- <?php // 01234567890123 $string = "test test test"; echo strrpos ( $string, 'e', 5); ?> Expected result: ---------------- 1 Actual result: -------------- Warning: Wrong parameter count for strrpos() in C:\WWW\strrpos.php on line 4